Is there a plan to implement a shift operator >> or << to GCBasic?
I am running Version 0.9 14/2/2010 and to shift twice I have to use two ROTATE statements.
">> 2" would be simpler.
What is the latest version available?
I find different versions with different abilities all over the place.
And I started with the GCBasic download page.
Ed
Last edit: Ed LeBel 2013-09-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a plan to implement a shift operator >> or << to GCBasic?
I am running Version 0.9 14/2/2010 and to shift twice I have to use two ROTATE statements.
">> 2" would be simpler.
What is the latest version available?
I find different versions with different abilities all over the place.
And I started with the GCBasic download page.
Ed
Last edit: Ed LeBel 2013-09-21
You can use the Rotate command to shift the data on the left or right, then select the location of the bit, like that: variable.[location] (ex var.1).
See this discussion https://sourceforge.net/p/gcbasic/discussion/596084/thread/026da590/.