Quantcast
Channel: Ivanti User Community : All Content - Terminal Emulation (Powered by Wavelink)
Viewing all articles
Browse latest Browse all 466

Scripting: Basic "Replace"

$
0
0

The following script can be used as a template for the "Replace" functionality..

 

This following script will parse scanned data and replace any "#" with "*". This script is triggered by the on barcode event

 

Script( Replace )

 

String( sData )
Number( nScan )
Activate( On_Input, sData, nScan )
    Scan_String( sData, 0 )

    sData = String_Replace( sData, "#", "*", FALSE )
    Scan_String( sData, 0 )
    Return


Viewing all articles
Browse latest Browse all 466

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>