@@ -23,7 +23,7 @@ Group {
2323 Call ( " print " , " Good job! " )
2424 }
2525 If {
26- try ! Infix ( " score " , " >= " , 70 )
26+ try Infix ( " score " , " >= " , 70 )
2727 } then: {
2828 Call ( " print " , " Passing " )
2929 }
@@ -172,24 +172,24 @@ Infix("board[24]", "-=", 8)
172172Variable ( . var, name: " square " , equals: 0 )
173173Variable ( . var, name: " diceRoll " , equals: 0 )
174174While {
175- try ! Infix ( " square " , " != " , " finalSquare " )
175+ try Infix ( " square " , " != " , " finalSquare " )
176176} then: {
177177 Assignment ( " diceRoll " , " + " , 1 )
178178 If {
179- try ! Infix ( " diceRoll " , " == " , 7 )
179+ try Infix ( " diceRoll " , " == " , 7 )
180180 } then: {
181181 Assignment ( " diceRoll " , 1 )
182182 }
183- Switch ( try ! Infix ( " square " , " + " , " diceRoll " ) ) {
183+ Switch ( try Infix ( " square " , " + " , " diceRoll " ) ) {
184184 SwitchCase ( " finalSquare " ) {
185185 Break ( )
186186 }
187- SwitchCase ( try ! Infix ( " newSquare " , " > " , " finalSquare " ) ) {
187+ SwitchCase ( try Infix ( " newSquare " , " > " , " finalSquare " ) ) {
188188 Continue ( )
189189 }
190190 Default {
191- try ! Infix ( " square " , " += " , " diceRoll " )
192- try ! Infix ( " square " , " += " , " board[square] " )
191+ try Infix ( " square " , " += " , " diceRoll " )
192+ try Infix ( " square " , " += " , " board[square] " )
193193 }
194194 }
195195}
@@ -216,7 +216,7 @@ For {
216216} in: {
217217 Literal . array ( [ Literal . integer ( 1 ) , Literal . integer ( 2 ) , Literal . integer ( 3 ) , Literal . integer ( 4 ) , Literal . integer ( 5 ) , Literal . integer ( 6 ) , Literal . integer ( 7 ) , Literal . integer ( 8 ) , Literal . integer ( 9 ) , Literal . integer ( 10 ) ] )
218218} where: {
219- try ! Infix ( " number " , " % " , 2 )
219+ try Infix ( " number " , " % " , 2 )
220220} then: {
221221 Call ( " print " , " Even number: \\ (number) " )
222222}
0 commit comments