New functions
LEFT( for bitshift left
RIGHT( for rightshift
ElseIf (instead of Else:If)
Stop
You didn't add the RIGHT( function?
https://github.com/PeterTillema/ICE/blob/9a0a180f8d50643e6270e10dcf02789b7db5ac97/src/functions.c#L660-L707
Then, why did you overlined the RIGHT( for rightshift ?
Because it's implemented now, don't need to add it anymore :P
Oh, ok, sorry for that. So, I guess LEFT is also implemented?
It's so weird.
I saw that LEFT wasn't implemented yet
// LEFT( if (function2 == tLEFT) { }
But he works on my calc ^^'
Sure it works, but it doesn't produce any code yet.
Though, when I compile that code : Disp LEFT(4,1) It displays 8
Yes, because both arguments are numbers, and then it gets optimized: https://github.com/PeterTillema/ICE/blob/a54747033004cfff9ae81a776fe332420d419908/src/parse.c#L666-L667
Ok, thank you
Wait, Stop, DelVar, Menu( can be implemented ?
And if yes, will they be ?
Will also be good if you can add switch statement with case
Wait is essentially the same as Pause, Stop is a good one, DelVar is the same as 0->,Menu( is way too hard to implement, and switch / case looks too much like C.
Is it bad if it looks like C ? Because switch can be interesting for some variables processing as interger and would be more efficient than lots of if, isen't it ?
I agree with Xenoxis, Menu( could be very useful ;)
I would argue against it, as it would be used on the main screen, not in the canvas mode. I, personally, do not see many ICE programs not use the drawing canvas, as ICE's main attraction is the use of the canvas to expand upon BASIC programs.
Sure, Menu( is very useful, but it would be very large code, and you can 'easily' write it yourself.