ReadlnAsc

Prev Next Home Home Table Of Contents Index

ReadlnAsc (File,Array)

ReadlnAsc reads a single line from a comma delimited Ascii file and breaks the fields out into an array.

All fields in quotes are considered strings. If the field is just comma delimited and numeric then it is converted to a number. If it has a decimal point then it is converted to a real number.


Example:
var F Fields FileAssign(F,'TEST.ASC') FileOpen(F) while not EndOfFile(F) ReadlnAsc(F,Fields) loop Fields Write LoopVal ' ' endloop Writeln EndWhile

See Also: ReadAscTextFile WritelnAsc

Category: File

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home