Turbo46
Guru
Joined: 24/12/2017 Location: AustraliaPosts: 1619 |
Posted: 10:45pm 25 Apr 2020 |
|
|
|
Hi Tom,
Thanks for that, very clever!
I know you are doing something clever with the matrix with the c and d variables but I need a coffee or two to work it out.
Printing a line at a time is clever too, If I'd even thought of it I would have used string functions to to do it but your POKE VAR method would have to be quicker. It does fix the character to "O" but that's OK. I have wondered whether using just 79 rather than &H4F is faster, but never tested it. I guess that CHR$(a$) would also work? But slower.
Using:
MewM(x, y) = (adj = 3)
Is also something I never do, I would use IF THEN. Did I say I'm not a programmer?
MMEdit's crunch just removes REMs, blank lines and formatting spaces I believe. I tried to keep the variable name lengths short but still have a meaning. Removing spaces within the program also helps I believe: a=b not a = b.
Thanks again Tom, I'll have a play again this arvo if I get the time.
Bill Keep safe. Live long and prosper. |