A choice of different comment styles including C

Oxygen Update http://community.thinbasic.com/index.php?topic=2517

[code=thinbasic]

'--------
'COMMENTS
'========

uses "oxygen"
dim src as string

src ="
#basic

rem traditional comment
' standard basic coomment
; standard assembler comment
// C line comment
/*
C comment
*/
dim a
a=a+1 // c comment
a=a/1 // c comment
a=1+2 /* c comment */ +3

a=1+2 /*

*/ +3

print `OK ` a
"

'msgbox 0,o2_prep src
o2_basic src
if len(o2_error) then
msgbox 0, o2_error : stop
end if
o2_exec


[/code]