GN_Skt, Skip to value

Register parameters

RST 20H, DEFW $3609
IN:
     A = character to search for
     BC = maximum number of characters to search. BC = 0, unlimited search.
     HL = 0, read from stream IX
     HL = 1, read from filter IX
     HL = 2, not allowed
     HL > 255, read at (HL)
     IX = optional handle (if HL = 0, 1)

OUT, if call successful:
     Fc = 0
     Fz = 1, if character found
     HL = points to terminating character (if HL(in) > 255)
     BC = 0, if BC(in) = 0
     BC = less number of characters processed (if BC(in)<>0)


OUT, if call failed:
     Fc = 1
     A = error code:

Registers changed after return:
     ....DE../IXIY same
     AFBC..HL/.... different 

Related calls

GN_Cls, classify character 
GN_Skc, skip character 
GN_Skd, skip to delimiter

web analytics