Welcome, Guest.
Please login or register.
Program line hyphen
Forum Login
Login Name: Create a new account
Password:     Forgot password

XBLite Forum    General Boards    XBLite Programming  ›  Program line hyphen
Users Browsing Forum
No Members and 1 Guests

Program line hyphen  This thread currently has 4,619 views. Print Print Thread
1 Pages 1 Recommend Thread
reware
September 17, 2008, 3:21am Report to Moderator Report to Moderator
Baby Member
Posts: 2
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.
Logged Offline
Private Message Private message
13
September 17, 2008, 5:50am Report to Moderator Report to Moderator
Guest User
Use the underscore "_".  Make sure you have a space before it.

Greg
Logged
E-mail E-mail Reply: 1 - 3
reware
September 17, 2008, 6:00am Report to Moderator Report to Moderator
Baby Member
Posts: 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 ?
Logged Offline
Private Message Private message Reply: 2 - 3
XBLiteAdmin
September 17, 2008, 11:02am Report to Moderator Report to Moderator
Administrator Group
Posts: 44
Quoted from reware

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.



Logged Offline
Site Site Private Message Private message Reply: 3 - 3
1 Pages 1 Recommend Thread
Print Print Thread

XBLite Forum    General Boards    XBLite Programming  ›  Program line hyphen

Thread Rating
There is currently no rating for this thread