Router-CIM Automation Suite

RCIM_2021_Header


RCIM_2021_Header


Previous topic Next topic  

RCIM_2021_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.