GTAG - Modding - Opcode Database - 0ADA
Opcode Database
0ADA
Description | Scans the file and returns the successful number of matches. Parameters matched to each wildcard are stored in the additional variables. In this example, 4 integers are written to variables 0@, 1@, 2@ and 3@. Opcode returns TRUE if all wildcards are matched. Otherwise, it returns FALSE. Params: 1. Variable to store the number of successful matches. 2. Pointer to the file. 3. String format for recording. +. Arguments, substituted in the string (up to 35 arguments). |
---|---|
Parameters (v2) | 1) File handle (Integer) (INT) 2) String (ANY) 3) (Returned) Integer (INT) 4) (Returned) Call arguments (...) |
Games | |
Category | CLEO 4 |
San Andreas | |
sascm.ini | 0ADA=-1, scan_file %1d% format %2d% store_num_results_to %3d% |
Example | 0ADA: scan_file 0@ format "CLEO version: %d.%d.%d.%d" store_num_results_to 0@ 0@ 1@ 2@ 3@ |
Command Name | SCAN_FILE |