Locking a record in a file where the record id is not a defined variable causes the system to crash.
Obviously easy to resolve, but perhaps should be fixed for future releases.
OPEN "FILE" TO FILE THEN
LOCK FILE,ID ELSE NULLEND
RETURN 0
Colin,
Locking a record in a file where the record id is not a defined variable causes the system to crash.
In which version? I believe this was fixed in 3.6. The problem was that the ensurestring() call against the parameter was coming from LH.DLL back into the engine so the debugger was being invoked from outside the engine, which it wasn't designed for.
Cameron Purdy