The TiCodRd Standard-Library adds the following subroutines to Extended BASIc, written in Extended BASIC.

CALL ScrInit(fg, bg)	Clears the screen, deletes sprites, sets background color bg, and sets characters to foreground color fg with a transparent background.
CALL RAND(SEED, UL, RES)	Returns an integer 0=RES<UL (Upper Limit) and advances the SEED.
CALL CreateQ(A$, L)	Initializes a Queue with length L (max 84) and stores it in string A$.
CALL enQ(a$, c, p1, p2, d)	Adds a record (command c, parameters p1, p2) to the queue d steps ahead of the current position.
CALL deQ(a$, c, p1, p2)	Gets next entry from the queue, where command c=0 means an empty slot.
CALL trim(a$)	Removes leading and trailing spaces and unprintable characters from a$.
CALL upStr(a$)	Converts string a$ to uppercase characters.
CALL loStr(a$)	Converts string a$ to lowercase characters.
CALL CharInv(org$, inv$)	Inverts a given hex character pattern (org$).
CALL Scramble(a$)	Scrambles a string (a$).
CALL Mod(n, d, m)	Calculates the modulo n(modd) (Remainder n/d).
 