09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

string Strings<br />

Description<br />

Example<br />

Limitations<br />

String is used for character strings.<br />

A character string consists of a number of characters (a maximum of 80) enclosed by<br />

quotation marks ("),<br />

e.g. "This is a character string".<br />

If the quotation marks are to be included in the string, they must be written twice,<br />

e.g. "This string contains a ""character".<br />

VAR string text;<br />

.<br />

text := "start welding pipe 1";<br />

TPWrite text;<br />

The text start welding pipe 1 is written on the teach pendant.<br />

A string may have from 0 to 80 characters; inclusive of extra quotation marks.<br />

A string may contain any of the characters specified by ISO 8859-1 as well as control<br />

characters (non-ISO 8859-1 characters with a numeric code between 0-255).<br />

<strong>RAPID</strong> Reference Manual 7-string-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!