NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_sysfileseek.nxc
This is an example of how to use the
SysFileSeek
function along with the
FileSeekType
structure.
task main()
{
byte handle;
// get a file handle
// ...
FileSeekType
args;
args.
FileHandle
= handle;
args.
Origin
=
SEEK_SET
;
args.
Length
= 65;
SysFileSeek
(args);
if
(args.
Result
==
NO_ERR
)
{
// do something
}
}
Generated by
1.8.2