NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_syslistfiles.nxc
This is an example of how to use the
SysListFiles
function along with the
ListFilesType
structure.
task main()
{
ListFilesType
args;
args.
Pattern
=
"*.rxe"
;
SysListFiles
(args);
if
(args.
Result
==
NO_ERR
&&
ArrayLen
(args.
FileList
) > 0)
{
TextOut
(0,
LCD_LINE6
, args.
FileList
[0]);
}
Wait
(
SEC_4
);
}
Generated by
1.8.2