Date : Sun, 30 Jan 2005 11:51:00 +0000
From : Dave Gorst <dgorst@...>
Subject: Re: ON...
I've got to ask - what was different with the implementation of
procedures in BASIC V? I remember GOSUB's being regarded as faster in
the earlier versions of BASIC but did something change when the Master
(I think that was version 5) came along?
>
> Cheers,
> Dave (who never moved on from BASIC 2 and is basically too lazy to
> disassemble the ROM and find this out for himself like everyone else).
>
> Kris Adcock wrote:
>
>> A.Weston wrote:
>>
>>> Is there a way of implementing this kind of thing in a way as efficient
>>> as ON..GOSUB (or PROC in BASIC V):
>>>
>>> IFc%=3IFFN3
>>> IFc%=4IFFN4
>>> IFc%=5IFFN5
>>> IFc%=6IFFN6
>>> IFc%=8IFFN8
>>> IFc%=9IFFN9
>>> IFc%=14IFFN14
>>> IFc%=21IFFN21
>>> IFc%=22IFFN22
>>>
>>
>> I seem to recall you can use EVAL to call functions, so:
>>
>> answer%=EVAL("FN"+STR$(c%))
>>
>> would probably do it.
>>
>> Cheers,
>>
>> Kris.
>
>
>
>