"R" Replace Single Key
- Command string:
- CMND$ = "R\{KeyNo}\{RecNo}\{FileNo}\{KeyStrOld}\{KeyStrNew}"
KeyNo | Key number |
RecNo | Record number |
FileNo | File number |
KeyStrOld | Old key value |
KeyStrNew | New key value |
- Purpose:
- Updates the specified key to the new key value.
- Description:
- This command changes the key value "KeyStrOld" of the record specified over the variable "RecNo" into the new key value "KeyStrNew" with the same record number.
- Parameters returned:
ERRORCODE: | Errorcode or 0 (no error) |
RECNO: | Undefined |
FATSKEY: | Undefined |
- Example:
- CMND$ = "R\1\"+STR$(RECNO)+"\1\"+KeyStrOld$+"\"+KeyStrNew$
BASIC Example
- See also:
- "1" Insert Single Key; page 4-6
"2" Delete Single Key; page 4-8
© 2008 GCS Software, Udo Gertz