Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
NXT.Find
SourceList files on the brick matching a given pattern.
An iterator to allow to enumerate files on the brick.
Find.patt conn fpatt
returns an iterator listing the filenames mathing the pattern fpatt
. The following types of wildcards are accepted:
Find.current_size i
returns the current filename size (number of bytes).
Execute a new request to the brick to retrieve the next filename matching the pattern.
close_iterator i
closes the iterator i
. Closing an already closed iterator does nothing.
iter f fpatt
iterates f name size
on all the filenames matching the pattern fpatt
(see Mindstorm.NXT.Find.patt
for the accepted patterns).
map f fpatt
maps f name size
on all the filenames matching the pattern fpatt
and return the list formed of those. (See Mindstorm.NXT.Find.patt
for the accepted patterns.)
fold f fpatt a0
folds f
on all the filenames matching the pattern fpatt
(see Mindstorm.NXT.Find.patt
for the accepted patterns).