Router-CIM Automation Suite

rcim_2023_header


rcim_2023_header


Previous topic Next topic  

rcim_2023_header


Previous topic Next topic  

General Format of the ;P Switch

;P#TYPE#VARIABLE#VALUE

Where type indicates the type of operation to be performed:

0

=

Place VALUE into VARIABLE

1

+

Add VALUE to VARIABLE

2

-

Subtract VALUE from VARIABLE

3

*

Multiply VARIABLE by VALUE

4

/

Divide VARIABLE by VALUE

5

Sin

Set VARIABLE to sin(VALUE)

6

Cos

Set VARIABLE to cos(VALUE)

7

Atan

Set VARIABLE to atan(VALUE)

8

Mod

Set VARIABLE to mod(VALUE)

 

NOTE: Due to syntax restrictions only one TYPE of ;P switch can be used per $PP entry.