09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CONTENTS<br />

<strong>Basic</strong> <strong>Characteristics</strong> <strong>RAPID</strong><br />

1 <strong>Basic</strong> Elements................................................................................................................. 3<br />

1.1 Identifiers................................................................................................................ 3<br />

1.2 Spaces and new-line characters .............................................................................. 4<br />

1.3 Numeric values ....................................................................................................... 4<br />

1.4 Logical values......................................................................................................... 4<br />

1.5 String values ........................................................................................................... 4<br />

1.6 Comments............................................................................................................... 5<br />

1.7 Placeholders............................................................................................................ 5<br />

1.8 File header .............................................................................................................. 5<br />

1.9 Syntax ..................................................................................................................... 6<br />

2 Modules ............................................................................................................................ 8<br />

2.1 Program modules.................................................................................................... 8<br />

2.2 System modules...................................................................................................... 9<br />

2.3 Module declarations ............................................................................................... 9<br />

2.4 Syntax ..................................................................................................................... 9<br />

3 Routines............................................................................................................................ 11<br />

3.1 Routine scope ......................................................................................................... 11<br />

3.2 Parameters .............................................................................................................. 12<br />

3.3 Routine termination ................................................................................................ 13<br />

3.4 Routine declarations ............................................................................................... 13<br />

3.5 Procedure call ......................................................................................................... 14<br />

3.6 Syntax ..................................................................................................................... 15<br />

4 Data Types ....................................................................................................................... 18<br />

4.1 Non-value data types .............................................................................................. 18<br />

4.2 Equal (alias) data types........................................................................................... 18<br />

4.3 Syntax ..................................................................................................................... 19<br />

5 Data................................................................................................................................... 20<br />

5.1 Data scope............................................................................................................... 20<br />

5.2 Variable declaration................................................................................................ 21<br />

5.3 Persistent declaration.............................................................................................. 22<br />

5.4 Constant declaration ............................................................................................... 22<br />

5.5 Initiating data.......................................................................................................... 22<br />

5.6 Syntax ..................................................................................................................... 23<br />

6 Instructions ...................................................................................................................... 25<br />

6.1 Syntax ..................................................................................................................... 25<br />

7 Expressions ...................................................................................................................... 26<br />

<strong>RAPID</strong> Reference Manual 5-1<br />

Page

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

Saved successfully!

Ooh no, something went wrong!