09.11.2012 Views

WorkSpace On-Demand 2.0 Feature for Windows ... - IBM Redbooks

WorkSpace On-Demand 2.0 Feature for Windows ... - IBM Redbooks

WorkSpace On-Demand 2.0 Feature for Windows ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

abbreviations, REXX instructions are common words, such as SAY, PULL,<br />

IF...THEN...ELSE, DO...END, and EXIT.<br />

C.1.3 Fewer rules<br />

REXX has relatively few rules about <strong>for</strong>mat. A single instruction can span<br />

many lines, and you can include multiple instructions on a single line.<br />

Instructions need not begin in a particular column and you can type them in<br />

uppercase, lowercase, or mixed case. You can skip spaces in a line or entire<br />

lines. There is no line numbering.<br />

C.1.4 Interpreted, not compiled<br />

REXX is an interpreted language. When a REXX program runs, its language<br />

processor reads each statement from the source file and runs it, one<br />

statement at a time. Languages that are not interpreted must be compiled<br />

into object code be<strong>for</strong>e they can be run.<br />

C.1.5 Built-in functions and methods<br />

REXX has built-in functions and methods that per<strong>for</strong>m various processing,<br />

searching, and comparison operations <strong>for</strong> text and numbers and provide<br />

<strong>for</strong>matting capabilities and arithmetic calculations.<br />

C.1.6 Typeless variables<br />

REXX regards all data as objects of various kinds. Variables can hold any<br />

kind of object, so you need not declare variables as strings or as numbers.<br />

C.1.7 String handling<br />

REXX includes capabilities <strong>for</strong> manipulating character strings. This allows<br />

programs to read and separate characters, numbers, and mixed input. REXX<br />

per<strong>for</strong>ms arithmetic operations on any string that represents a valid number,<br />

including those in exponential <strong>for</strong>mats.<br />

C.1.8 Clear error messages and powerful debugging<br />

REXX displays messages with meaningful explanations when a REXX<br />

program encounters an error. In addition, the TRACE instruction provides a<br />

powerful debugging tool.<br />

232 <strong>WorkSpace</strong> <strong>On</strong>-<strong>Demand</strong> <strong>2.0</strong> <strong>Feature</strong> <strong>for</strong> <strong>Windows</strong> Clients

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

Saved successfully!

Ooh no, something went wrong!