beautypg.com

Openfile – Ocean Optics Jaz Scripting Language and Scripting Engine User Manual

Page 39

background image

6: Functions Reference

013-RD000-000-12- 201010

31

Arguments

Name

Type

Special Considerations

Label

A labeled statement in the script

Labels are local to main or a user-
defined procedure

Procedure

The name of a user-defined
procedure

HALT

Terminate the script

Intent:

The engine maintains a global error indicator that is set whenever a consistency error is detected and
referenced by this function to determine whether to take the action specified.

OpenFile

Syntax: OpenFile(F,Mode) variant : OpenFile(F,Mode,Sequence)
Arguments

Name

Type

Special Considerations

F

FILE variable

Mode

INT_16 constant

ForRead = file is for output

ForWrite = file is for input