9.0

200
LTrim$ Function
Syntax
LTrim[$](S$)
Group
String
Description
Return the string with S$'s leading spaces removed.
Parameter Description
S$ Copy this string without the leading spaces. If this value is Null then Null is returned.
See Also: RTrim$( ), Trim$( ).
Example
Sub Main
Debug
.Print ".";LTrim$(" x ");"." '".x ."
End
Sub
Macro definition
A macro is like an application. Execution starts at the macro's Sub Main.
MacroDir$ Function
Syntax
MacroDir[$]
Group
Flow Control
Description
Return the directory of the current macro. A run-time error occurs if the current macro has never been saved.
See Also: MacroRun.
Example
Sub Main
' open the file called Data that is in the
' same directory as the macro
Open
MacroDir & "\Data" For Input As #1
Line
Input #1, S$