[_includes/sitename.htm]
[_includes/slogan.htm]
Macro Express Sample Macro:


This subroutine simply creates two characters, CRLF and TAB. CR (Carriage Return) and LF (Line Feed) are actually two different characters but MS based systems require both together to signify the end of a line in a text file. This is needed when creating text files or variables where you need to start a new line or need tabs in a tab delimited file. Usually I use the registry to feed results back into the parent macro but I use this so much I generally just exclude these variables in my macros knowing that most of the time I will need them.

The sample file is a playable macro which you can simply download and launch.

Page last updated: 06/24/2009

 
CRLF&TAB.mxe
Macro Script
// Set CR
Variable Set %T95% to ASCII Char of 13
Variable Set %T96% to ASCII Char of 10
Variable Set String %T95% "%T95%%T96%"
// Set CR
// Set 
TAB
Variable Set %T96% to ASCII Char of 9
// Set TAB
Macro Text
<REM2:Set CR><ASCIIC:95:1:13><ASCIIC:96:1:10><TVAR2:95:01:%T95%%T96%><REM2:Set CR><REM2:Set 
TAB><ASCIIC:96:1:9><REM2:Set TAB>

 
[_includes/slogan.htm]