
GeoBASIC Reference Manual
2.GeoBasic Constructs
2-58 TPS1100-Version
1.30
GetByte ( iFId1, i )
DO WHILE NOT Eof(iFId1)
PutByte ( iFid2, i )
GetByte ( iFId1, i )
LOOP
PutByte ( iFid2, i )
ELSE
' empty file
ENDIF
Close( iFId1 )
Close( iFId2 )
2.12.8 Put – values
Description
Put a value to file in binary mode.
Declaration
PutByte
( byVal FileId
AS FileId,
iVal
AS Integer )
PutInt
( byVal FileId
AS FileId,
iVal
AS Integer )
PutDouble ( byVal FileId
AS FileId,
dVal
AS Double )
PutLogical( byVal FileId
AS FileId,
lVal
AS Logical )
PutString ( byVal FileId
AS FileId,
szVal
AS String255,
iLen
AS Integer )
Remarks
These functions write a value to the file identified by
FileId
.
The values will not be interpreted at all. Only logical values will
be transformed to the external coding.
iLen
gives the maximum
number of characters to be written. If
iLen
is greater than the
actual length, then the string will be filled up with ‘\0’-characters.
If
iLen
is greater than 255, then it will be reset to 255. If less than
0 then it will be reset to 0.
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...