Technical Support Contact Us   

PC Access for Windows Reference Guide

for PC Access for Windows 4.30.158


Script Command: opendata

Format:

opendata "filename" {error LABEL};

The opendata command opens a data file the user created earlier (for example, by editing with the Windows Notepad). The data file is a text file containing lines of variable values you wish to read into the currently running script with the readdata command. The optional error parameter allows you to transfer script execution to a LABEL if the script processor cannot open "filename".

Examples:

label START;
opendata "\test\testdata.in" error KABOOM;
exit;
label KABOOM;
messagebox title "Error" text "Could not open a file.";
exit;

Back to script command list.


Home Contents Previous Next

[Contents (Javascript menu format)] [Contents (HTML format)] [Search] [Glossary]


Tell me more about this site.
Can't find what you need? See: How to Find It.
Contact us
Report a problem with this page or suggest an improvement for this page.

Last modification date: Friday, January 17, 2003 00:58:55

 

Copyright © 2005 - MFM Software, Inc.
11988 Tramway Drive
Cincinnati, OH 45241
Phone: 513.733.9229
Fax: 513.733.8775
Send comments to webmaster@mfm.com