Re: Multi-line comments

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
ChrisB said...

/

commented stuff

/

I can't think of instances where those character sequences are valid code.

? 4 /-- a line comment 
  3 
? 2 --/ another line comment 
 

output:

1.333333333 
2 

That's why I suggested --/ open /-- close. Since --/ is already a comment, the interpreter just waits until /-- to continue reading code...

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu