Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1248 – 20 May 2012

AG_WINPTR Refinement

Scroll Prev Top Next More

The return information now includes the new parameters described above, such that the complete return line now looks like:

STATUS,PTRNAME$,PTRPORT$,PTRDVR$,ORIENTATION,LENGTH,WIDTH,FORMNAME,DUPLEX,BIN,COLOR,QUALITY

Note that since ATE and A-Shell/Windows versions prior to 6.0.1248.0 will only return the first four fields, and that INPUT will continue to prompt for parameters that were not supplied, you should first check the version and use an appropriate INPUT statement. (Using MX_WINPTR avoids the issue entirely. Another approach would be to use INPUT LINE to get the entire response, then parse it manually, either using INSTR() or XCALL STRTOK).