NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

Input # Function

Reads data from an open sequential file and assigns the data to variables.

Input (channel, value)

Arguments

channel
Required. Any valid file number.
value
Required. Comma-delimited list of variables that are assigned values read from the file — can't be an array or object variable

Remarks

Data read with Input # is usually written to a file with Write #. Use this function only with files opened in Input or Binary mode.

When read, standard string or numeric data is assigned to variables without modification. The following table illustrates how other input data is treated:

Data Value assigned to variable
Delimiting comma or blank line Empty
#NULL# Null
#TRUE# or #FALSE# True or False
#yyyy-mm-dd hh:mm:ss# The date and/or time represented by the expression
#ERROR errornumber# errornumber (variable is an Objecttagged as an error)

If you reach the end of the file while you are inputting a data item, the input is terminated and an error occurs.

See Also

Example

Input Function | Open Statement | Print # Statement | Write # Statement | Writing Data to Files