Next: Byte Data Constructor Functions, Previous: Byte Data Character Set Search Functions, Up: The Byte Data Library [Index]
integer bt_first(integer &c, data d, integer &p);
is zero if the d byte array is empty, non zero otherwise. Sets p to 0. For non zero evaluations c is set to the character in the first position.
integer bt_last(integer &c, data d, integer &p);
is zero if the d byte array is empty, non zero otherwise. Sets p to -1. For non zero evaluations c is set to the character in the last position.
integer bt_next(integer &c, data d, integer &p);
is zero if the d byte array defines no position after p, non zero otherwise. Increments p. For non zero evaluations c is set to the character in the new p position.
integer bt_previous(integer &c, data d, integer &p);
is zero if the d byte array defines no position before p, non zero otherwise. Decrements p. For non zero evaluations c is set to the character in the new p position.