
12-34
Creating A Script File
FILE RGET
Syntax:
FILE RGET <handle> <variable>
This will get a single character from a file and assign it to a variable, where
<handle>
is the integer variable specified by the
file open
command and used to
identify the file.
<varname>
is a previously defined variable (see
var
) which will be used to store
the character. Note that if the variable was created in the integer for-
mat, the decimal value of the character will be assigned to it.
More than one variable may be specified to store successive characters from the file.
Refer to the
Error Numbers
section later in this chapter for a list of possible error
numbers for this command.
FILE SEEK
Syntax:
FILE SEEK <handle> <position> [<count>]
This command specifies the location within a file at which character read and write
operations are to occur, where
<handle>
is the integer variable specified by the
file open
command and used to
identify the file.
<position>
defines the approximate position in the file as
start
,
current
or
end
(which may be abbreviated to
S
,
C
and
E
, respectively).
<count>
defines the particular character location as the number of characters
from the
<position>
setting, which is entered as a minus or plus figure
(e.g.
+6
or
-25
). This parameter may be omitted.
The following example will move the location to twelve characters from the end of
the file identified by the handle
id
:
file seek id e -12
Refer to the
Error Numbers
section later in this chapter for a list of possible error
numbers for this command.
FILE STAT
Syntax:
FILE STAT <filename> [<size> <mode> <modtime> <uname> <gname>]
This will get the statistics of the specified file and place them in the previously
defined string variables, where
<filename>
is a string or string variable that specifies the name of the file. This is
the only entry that must be specified, the others are optional.
Содержание -05W
Страница 1: ...TeemTalk 05W 07W 11W User s Guide...
Страница 38: ...2 24 Getting Started Notes...
Страница 58: ...3 20 Keyboard Configuration Notes...
Страница 152: ...8 20 File Transfer Notes...
Страница 162: ...9 10 ICL FTF File Transfer Notes...
Страница 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...
Страница 336: ...C 6 Key Reference Numbers Notes...
Страница 360: ...E 16 Host Command Summary Notes...
Страница 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...