On Mon, May 28, 2018 at 4:43 PM, Stephen Adolph <[email protected]> wrote:
> I think you must be right John, > because this line works > > 20 PRINT A$(S):F=256*PEEK( VARPTR(D$(S)) +2)+PEEK( VARPTR(D$(S)) +1) > > Yeah, the theory being that F as a left-hand-side of a (implied) LET allocates F before the (two) VARPTR operations. I suspect if you DIM your variables up front it would work either way. And you could DIM your numeric variables as INT (%) and save a tiny bit of space / execution time. -- John.
