(8.5x11) 6000 Manual Cover - Newport Corporation
(8.5x11) 6000 Manual Cover - Newport Corporation
(8.5x11) 6000 Manual Cover - Newport Corporation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Appendix A<br />
Syntax and Definitions<br />
A.1 Definition of <br />
The IEEE 488.2 standard defines two types of string data. These strings are<br />
either single or double quoted. For convenience, the 2832-C also recognizes<br />
an unquoted string with certain restrictions as detailed below. Any of these<br />
forms may be used where a parameter is required.<br />
1. , using double quotes. “this is a string”<br />
2. , using single quotes. ‘this is a string’<br />
3. , using no quotes. thisisastring<br />
A description of each type of follows:<br />
1. defined using double quotes.<br />
A double quote indicates that a string follows, and the string is terminated<br />
by another double quote. A double quote may be embedded<br />
within the string by using two double quotes together:<br />
Example: “this string contains a “” double quote”<br />
All characters within the two outer double quotes are considered part<br />
of the string. It is an error if the string does not terminate with a double<br />
quote. The string cannot contain the (ascii decimal 13), (ascii<br />
decimal 10), or End or Identify characters.<br />
2. defined using single quotes.<br />
This form is similar to double quoted string. A single quote indicates<br />
that a string follows, and the string is terminated by another single<br />
quote. A single quote may be embedded within the string by using two<br />
single quotes together:<br />
Example: ‘this string contains a ‘’ single quote’<br />
All characters within the two outer single quotes are considered part of<br />
the string. It is an error if the string does not terminate with a single<br />
quote. The string cannot contain the (ascii decimal 13), (ascii<br />
decimal 10), or End or Identify characters.<br />
85