Intrinsic Functions
In order to manipulate values SIMPOL provides intrinsic functions. These are functions whose parameters are
unnamed and must all be supplied. The return from an intrinsic function is some other value, which depends on, and only on, the parameter
values. For example the .len() function takes a single string parameter and returns the number of characters it
contains. As another example, the .tostr() function takes two numeric values, the first being a value to be
represented as a string and the second being the base to use, e.g.: .tostr(13,2) returns '1101
',
or .tostr(123456,10) returns the string '123456
'.