Oxygen Basic
Programming => Problems & Solutions => Topic started by: Arnold on July 29, 2018, 04:28:07 AM
-
Hi Charles,
the weather is too hot here, and I do not really proceed with my little project. So in the meantime I explore some examples of the O2 distribution.
In examples\Basics\Blocks.o2bas I get the result 0 (expected is 1). If I comment out in line 40: 'dim int i=2 (in the skip block) then the result will be correct.
I assume 'skip' should act as a block comment? I only found an example in Testlog.o2bas and in this case the statements were commented out. Are there cases when 'skip' would make sense?
Roland
-
Hi Roland,
It was very hot here too, but our westerly cool breezes and showers should reach you soon :)
I removed skip on 11th June, since it served no useful purpose - C comment markers are sufficient.