11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

SQUOTE<br />

Syntax<br />

SQUOTE(str.expr)<br />

Description<br />

The <strong>UniBasic</strong> SQUOTE function encloses a string with single quotation marks.<br />

Examples<br />

In the following example, the program statement prints ‘This is ‘a’ test’ on the screen:<br />

PRINT SQUOTE("This is 'a' test")<br />

In the next example, the program segment prints ‘This is another test’ on the screen:<br />

X = "This is another test"<br />

PRINT SQUOTE(X)<br />

Related Command<br />

<strong>UniBasic</strong><br />

QUOTE<br />

SQUOTE 1-867

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

Saved successfully!

Ooh no, something went wrong!