Intermec PM23c Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 54
Converting Input Data
View all Intermec PM23c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
Chapter 4 - Managing Input and Output Converting Input Data These Fingerprint commands are used to convert data in numeric or string expressions: • ABS returns the absolute value of a numeric expression. • ASC returns the ASCII value of the first character in a string expression. • CHR$ returns the readable character of a specified ASCII value. This is useful when a printer keyboard cannot produce a particular character. • FLOATCALC$ calculates float numbers using arithmetic operators. • FORMAT$ formats a number represented by a string and is typically used with FLOATCALC$. • INSTR searches a string for a specific character or string of characters and returns its position if found. • LEFT$ returns a specified number of characters from the beginning (left end) of a string. • LEN returns the total number of characters and spaces in a string expression. • MID$ returns a portion of a string expression. You can specify the start position and the number of characters to return. • RIGHT$ returns a specified number of characters from the end (right side) of a string. • SGN returns the sign of a numeric expression. • SPACE$ returns a specified number of space characters. This command is useful for creating tables with monospace characters. • STR$ returns the string representation of a numeric expression. • STRING$ returns a specified number of a single character specified by its ASCII value. • VAL$ returns the numeric representation of a string expression. This is typically used with random files, which only accept strings. Note: Commands ending in $ typically return a string. 42 Fingerprint Developer's Guide