Comments: Difference between revisions

practicing the new language I started learning this week, Rockstar
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
(practicing the new language I started learning this week, Rockstar)
Line 2,695:
This would then change the robot's name from whatever it was before to "NewRobotName" instead.
 
=={{header|Rockstar}}==
<syntaxhighlight lang="rockstar">Rockstar is cool.
(Rockstars don't like comments, but if you really really want to, you write them in parentheses and they are believed to be multiline. In fact, parentheses are just the comment symbols, so you can't even use parentheses in math, so if you want the addition to happen before the multiplication, do the addition and assign it to a variable. And by the way, the Rockstar is cool line assigned the number 4 to the variable Rockstar, because cool is four letters and all that. And this comment has gone on way too long for a language with a developer community that hates comments.)
Shout Rockstar.
(Might as well put that number 4 on the screen.)</syntaxhighlight>
=={{header|Ruby}}==
 
61

edits