@@ -101,28 +101,7 @@ end)
101101
102102-- #region operators
103103
104- __e2setcost (1 )
105- registerOperator (" ass" , " xwa" , " xwa" , function (self , args )
106- local op1 , op2 , scope = args [2 ], args [3 ], args [4 ]
107- local rv2 = op2 [1 ](self , op2 )
108- self .Scopes [scope ][op1 ] = rv2
109- self .Scopes [scope ].vclk [op1 ] = true
110- return rv2
111- end )
112-
113- registerOperator (" eq" , " xwaxwa" , " n" , function (self , args ) -- if(Wa == Wa)
114- local op1 , op2 = args [2 ], args [3 ]
115- local v1 , v2 = op1 [1 ](self , op1 ), op2 [1 ](self , op2 )
116- if v1 == v2 then return 1 else return 0 end
117- end )
118-
119- registerOperator (" neq" , " xwaxwa" , " n" , function (self , args ) -- if(Wa != Wa)
120- local op1 , op2 = args [2 ], args [3 ]
121- local v1 , v2 = op1 [1 ](self , op1 ), op2 [1 ](self , op2 )
122- if v1 ~= v2 then return 1 else return 0 end
123- end )
124-
125- registerOperator (" is" , " xpng" , " n" , function (self , args ) -- if(Wa)
104+ registerOperator (" is" , " xwa" , " n" , function (self , args ) -- if(Wa)
126105 local op1 = args [2 ]
127106
128107 --- @type WebAudio
@@ -1023,4 +1002,4 @@ registerCallback("destruct", function(self)
10231002 end
10241003end )
10251004
1026- -- #endregion cleanup
1005+ -- #endregion cleanup
0 commit comments