Programmer Guide/Command Reference/QUOTE: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 18: Line 18:
== {{anchor|SOH|The SOH character}} ==
== {{anchor|SOH|The SOH character}} ==


Note that <code>&lt;SOH&gt;</code> indicates the ECMA/ASCII "start of heading" character with the binary value <code>00000001</code>.
The string "<code>&lt;SOH&gt;</code>" indicates the ECMA/ASCII ''start of heading'' character with the binary value <code>00000001</code>.

Revision as of 16:10, 28 April 2014

#a := QUOTE /- arg1argn

Will set #a to <SOH>arg1 … argn<SOH>.

#a := QUOTE /E /- arg1argn

Quote elementwise: this will set #a to <SOH>arg1<SOH><SOH>argn<SOH>.

#a := QUOTE /R /- arg1argn

Will set #a to arg1* … argn*, where argn* is argn after replacing every occurrence of the quote character, "'", by <SOH>.

See the script quote_examples.sts for more details.

The option /R takes a lot of precedence over /E.

The SOH character

The string "<SOH>" indicates the ECMA/ASCII start of heading character with the binary value 00000001.

Navigation menu

Personal tools