|Liberty BASIC Help Online
Logical Line Extension
Liberty BASIC supports a technique called logical-line-extension, which allows one line of code to be split over several lines of text in the editor. For example:
open "user32" for dll as #u
calldll #u, "GetWindowRect", hMain as long, Rect as struct, result as long
A line can get long and difficult to read! Consider the following equivalent.
Open "user32" For DLL As #u
CallDLL #u, "GetWindowRect",_
hMain As long,_
Rect As struct,_
result As long
When the line is broken up with the _ character, the code is more readable.
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/