Everyday we discover new stuff in PcVue :woohoo:
Today I discovered a Scada Basic instruction I never saw before: TOLL
Extract from the help:
Convert a number to a LONGLONG value.
Syntax
LongLongVal = TOLL(Num);The return type is LONGLONG.
Argument
Num: The value to be converted. Any numeric type.Execution
The number is converted to a LONGLONG value.Example
SUB Main()
DIM lngValue as Long;
DIM lnglngResult as LongLong;lngValue = 125;
lngResult = TOLL( lngValue );PRINT("Result: ", lnglngResult);
'Display "Result: 125"END SUB
Ho my god! A LongLong type!!! It would be more fun creating a LingLing Type :silly:
In another section of the help we can see the following:
Longlong 8 Byte integer -9,223,372,036,854,775,807 to 9,223,372,036,854,775,807


