Re: Just a little question before 4.0 will be released

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

Multi-line text literals have now been implemented. Multi-line comments are coming soon.

Did you change the way it works or keep your syntax? You came up with some good points on my suggestions. Just wondering if you moved to the """....""" syntax.

I'm using the underscore as the way to show the size of the left margin for these extended text literals.
eg.

---- 
constant ColorNames = ## 
______________________White 
                      Black 
                      Blue 
                      Green 
                      Red 
                      # 
---- 

Which is the same as ...

---- 
constant ColorNames = "White\nBlack\nBlue\nGreen\nRed" 
---- 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu