Z88 Developers' Notes | ||
---|---|---|
Contents | Contents of System Calls |
GN_Skd, skip delimiters in byte sequense
RST 20H, DEFW $3409
IN:
HL = 0, read from stream IX HL = 1, read from filter IX HL = 2, not allowed HL > 255, read at (HL) A = terminator IX = optional handle (if HL = 0,1)OUT, if call successful:
Fc = 0 HL = points to terminating character processed (if HL(in) > 255) A = terminator Fz = 1, terminator seen Fz = 0, terminator not seenOUT, if call failed:
Fc = 1 A = error code:Registers changed after return:
..BCDEHL/IXIY same AF....../.... differentNotes:
Delimiters are tab, space and comma. If the A is set to one of the delimiters then that delimiter is treated as a terminator. A(out) always contains the terminator character.Bugs:
Related calls:
GN_Cls, classify character
GN_Skc, skip character
GN_Skt, skip to value