| Routines

3674: THE 'LEN' FUNCTION (offset +1E)

The address of this routine is found in the table of addresses. It is called indirectly via fp_calc_2. This subroutine handles the function LEN A$ and returns a 'last value' that is equal to the length of the string.
len | 3674 | CALL STK_FETCH | The parameters of the string are fetched.
| 3677 | JP STACK_BC | The subroutine exits via STACK_BC which gives the correct 'last value'.