Spring 1979 · Issue 2

Page 17 of 18

Tiny Basic Page

Firstly have you noticed that setting up the array to a certain value always seems to take a long time. Well if you have the tiny basic, vou can make use of the MCU commend to set the array by a machine code up copy. This short subroutine (courtesy of Howard) makes full use of this facility, and even allows setting parts of the array.

Also when using the machine code facilities of the 3K tiny basic, some neat tricks with the MCI and MCP commands are possible. One is to find the length of L after an MCI input.

Further, when using multiple strings, the array may be used to keep track of the addresses and lengths of the strings.

Page 17 of 18