Isis 2 Documentation
str2int - Convert a numeric string to integer str2int converts a numeric string supplied by a calling PDF to a binary value. NOTE: str2int can only be called from within a procedure PDF PROGRAMMER: Kris Becker, USGS, Flagstaff
Parm | Description | Default |
---|---|---|
INSTR | Numeric value to convert | NONE |
OUTINT | Output integer value |
ADDITIONAL NOTES:
Parm | Description |
---|---|
INSTR | This parameter is supplied by the calling PDF and should be passed by value. For instance, the following PDF code sequence will demonstrate its use: LOCAL STR TYPE=(STRING,10) LOCAL INT INTEGER LET STR = "120" str2int INSTR=&STR OUTINT=INT The conversion actually takes place in this call but the returned INTEGER value is now an integer rather than a string. |
OUTINT | The converted integer value |
Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov