-->
Page 1 of 1

Rem

PostPosted: Tue Sep 20, 2016 1:55 pm
by Luc Volders
Haven't found it and that may be my mistake but:

Is there a rem (remark) like command that let you comment out program lines.

something like // in C++
or commenting out a block of code with /* and */

Very usefull for debugging but I have not fou8nd it in the documentation.

Luc

Re: Rem

PostPosted: Tue Sep 20, 2016 5:23 pm
by PhilTilson
You're right - it's not documented!

However, a single tick mark seems to work fine as a comment:
Code: Select alla$ = "A test string"

'This is a comment line

b$ = a$ & " is useful!"

'...and this is another comment.

print b$

I'll update the documentation accordingly!

Phil

Re: Rem

PostPosted: Wed Sep 21, 2016 2:22 pm
by Luc Volders
Yep that's it !!!!

Thanks Phil.

Luc