rdyar / LabWOES

Unofficial ROES and LabWorks support for Photo Labs
https://rdyar.github.io/LabWOES/
1 stars 1 forks source link

What is the purpose of "[\]" #25

Open rdyar opened 9 years ago

rdyar commented 9 years ago

I see [] in if statements. But sometimes I write them myself without it and they still work. What is the purpose?

rdyar commented 9 years ago
Macro Behavior

[\] 

Everything after this macro up to the next non white space character will be ignored (white space characters are blanks, tabs and end of lines)

[\n] 

Everything after this macro up to the next non white space character will be replaced by a new line character (white space characters are blanks, tabs and end of lines)

[\rn] 

Everything after this macro up to the next non white space character will be replaced by a carriage return and new line character pair (white space characters are blanks, tabs and end of lines)

[//] 

Everything after this macro on this line, including the end of line, will be ignored.

[//\] 

Everything after this macro on this line, including the end of line, will be ignored. Further, everything after the end of line, up to the next non white space character, will be ignored (white space characters are blanks, tabs and end of lines)