beautypg.com

Readrealvector readtable, Readrealvector, Readtable – Ocean Optics Jaz Scripting Language and Scripting Engine User Manual

Page 42

background image

6: Functions Reference

34

013-RD000-000-12- 201010

ReadRealVector

Syntax: ReadRealVector(F,V,Length)
Arguments

Name

Type

Special Considerations

F

FILE

V

Real Array variable

Length

Integer variable or literal

Number of elements to read

Intent:

Read in a vector of real values from a user-supplied file. Useful in creating tables, references, lists,
etc.

ReadTable

Syntax: ReadTable(FileVar,TableVar,NumRows,NumCols)

Arguments

Name

Type

Special Considerations

FileVar

FILE

Must have been opened with
OpenFile()

TableVar

TABLE

#rows and #cols specified in
declaration

NumRows

INT_16

Input file must match this
specification

NumCols

INT_16

Input file must match this
specification