mdsplus icon indicating copy to clipboard operation
mdsplus copied to clipboard

Feature: Add $SEEK_SET, $SEEK_CUR, $SEEK_END

Open santorofer opened this issue 1 month ago • 0 comments

Since the values of SEEK_SET, SEEK_CUR and SEEK_END aren't standard, this adds a way to access the C macros from TDI. This is for use with the FSEEK() builtin, like so:

FSEEK(_file, *, $SEEK_END);

Each constant required a new opcode, which have been allocated in opcodes.csv

santorofer avatar Dec 10 '25 20:12 santorofer