Raised This Month: $ Target: $400
 0% 

Multiline comments?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
flat_
Junior Member
Join Date: Apr 2004
Old 04-12-2004 , 03:12   Multiline comments?
Reply With Quote #1

Its strange, but I cant compile multi-lines of comments
Code:
textstart = "^blah blah^n^n\
	blah blah \
	blah blah \
	blah.^n^n"
Quote:
myscript.sma(1744) : error 037: invalid string (possibly non-terminated string)
myscript.sma(1745) : error 017: undefined symbol "blah"
myscript.sma(1745) : error 017: undefined symbol "blah"
(...)
flat_ is offline
flat_
Junior Member
Join Date: Apr 2004
Old 04-12-2004 , 03:22  
Reply With Quote #2

Oops said nothing :X
There were "^M" at end of lines
flat_ is offline
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 04-12-2004 , 08:27  
Reply With Quote #3

You need to put the comment between /* and */ for multiliners
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode