[Coco] GOTO and code maintainability

Darren A mechacoco at gmail.com
Fri Sep 11 11:11:37 EDT 2009


On 9/10/09, Benoit Bleau wrote:
> Here's another technical no-goto:
>
> 10 A=PEEK(167) : PRINT "HELLO WORLD "; : POKE 167,A
>
---

That's a neat trick, but  it would certainly be more frowned upon than
using a GOTO.  It will only work if the end of the PEEK command and
the end of the POKE command are located within the same 256 byte page.

Darren



More information about the Coco mailing list