|
ReadValue# | ||
FloatValue# = ReadValue#(ChannelIndex) | ||
Parameters: ChannelIndex = Index of the file channel to read from |
||
Returns: FloatValue# = The float value that has been read from this file |
||
The ReadValue# function will read the next line of text from an open file channel and return it as a Floating point value. ReadValue# is short hand for the following Result#= Val(ReadString$(1)) FACTS: * ReadValue# only works with files opened with ReadFile command. Mini Tutorial: This example creates a simple file with some various bits of data store in it, then read it's back again.
This example would output.
|
Related Info: | CloseFile | ReadByte | ReadChr$ | ReadFile | ReadFloat | ReadInt | ReadString$ | ReadValue | ReadWord : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |