Please enable JavaScript to view this site.


Navigation: Macros > Macro Language > Instructions

Multi-Line Instructions

Scroll Prev Up Next More

Macro instructions can be split over multiple lines, using the symbol -> at the end of each line.


However we do not recommend it; if an instruction is that long, it is probably important and complex and you will benefit from breaking it down into many simpler instructions.


Note that, in the case of an instruction continued over many lines, each string must be closed in the line where it begins.

sTemp = 'The quick brown fox jumped ->  
         over the old lazy dog' // wrong
sTemp = 'The quick brown fox jumped' + ->  
        'over the old lazy dog' // correct

Failure to do so will result in the compiler syntax error.


Topic 127400, last updated on 18-Apr-2020