External variable type specifiers.

Type Value example Description
bool true; false or a > 4 Boolean variables
int 1 Integer variables
real 12.4 Floating point variables
time 10us Time variables
phase 45deg Phase variables
frequency 10MHz Frequency variables

IMPORTANT: Units must not be space-separated from value.

Example:

time tau, t90, t180, T1 %% Variable declaration int ph,rr %% Variable declaration

Legend: PPL keywords; PPL pulse commands; comments.

Internal variable type is set by assignment.

Example:

newtau = tau - 200ns

Legend: PPL keywords; PPL pulse commands; comments.