Print Topic - Archive
XBLite Forum / XBLite Programming / Program line hyphen
Posted by: reware, September 17, 2008, 3:21am
I got a simplest question - how can I hyphen a long program line (XBLite) into next line(s) ? For instance, such line as -
IF (virtKey = $$VK_HOME) OR (virtKey = $$VK_END) OR (virtKey = $$VK_RIGHT) OR (virtKey = $$VK_LEFT) OR (virtKey = $$VK_DELETE)
is hardly readable. Seems better to cut such line into several parts. WHAT character I need to insert at the end of line to show a compiler, that this line isn't ended and will continue on next line ? It's too difficult to find an answer in XBLite FAQ.
Sorry, I'm using XBLite only a couple of days :) My native languages - XBase++, Clipper, Visual FoxPro.
Posted by: 13 (Guest), September 17, 2008, 5:50am; Reply: 1
Use the underscore "_". Make sure you have a space before it.
Greg
Posted by: reware, September 17, 2008, 6:00am; Reply: 2
Quoted from 13
Use the underscore "_". Make sure you have a space before it.
Greg
Thanks a lot. I was preparing for searching "FAQ for C beginners", "FAQ for ASM beginners","FAQ for Java beginners" or somewhere else. Was it so difficult to insert such primitive info into XBLite manual ?
Posted by: XBLiteAdmin, September 17, 2008, 11:02am; Reply: 3
Was it so difficult to insert such primitive info into XBLite manual ?
It's in the XBLite manual under the topic "Source Lines & Line Extensions ( _ )".
Search for "Line Extension".
D.
Print page generated: February 5, 2012, 2:39pm