Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AE7

Opcode Database

0AE7

DescriptionSearches for a file or directory on a mask, it returns the name of the found file / directory and sets the result of logical operation TRUE, if the file / directory was (a) found (a), or FALSE otherwise. Opcode uses the handle to the search, the resulting opcodes 0AE6. When the search should use opcodes 0AE8, to close the search.

To determine the type of what was found (file / directory) should use one of the opcodes: 0AE4, 0AAB.

Params
1. String that the name of the file found will be written to. Corresponds to string convention.
2. Handle to the search.
Parameters (v2)1) File handle (Integer) (INT)
2) (Returned) String (ANY)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AE7=2, find_next_file %1d% store_to %2d%
Example0AE7: find_next_file 0@ store_to 1@v
Command NameFIND_NEXT_FILE

<< 0AE6

0AE8 >>