In that case, you have to use the next best thing which is a bunch of IF ... THEN ... where the condition drops down to the next line if it isn't true and uses a GOSUB to do the routine and return back to the last line executed. On Thu, Feb 16, 2017 at 2:08 PM, Evan Koblentz via vcf-midatlantic < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
There's no ELSE in Applesoft.
On 02/16/2017 08:23 AM, Jeffrey Brace via vcf-midatlantic wrote:
I recommend reorganizing the code so that it isn't spaghetti code. New BASIC programmers without formal training (e.g. a college course) tend to structure code in "spaghetti" format. I recommend using more GOSUB calls instead of GOTO. Make subroutines and use GOSUB. Also structure with IF this THEN that ELSE something else. GOSUB x
On Thu, Feb 16, 2017 at 1:55 AM Evan Koblentz via vcf-midatlantic < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
Anyone up? I am fighting with Applesoft BASIC (and losing). Looking for
late-night phone support...
________________________________ Evan Koblentz, director Vintage Computer Federation a 501(c)3 educational non-profit
evan@vcfed.org (646) 546-9999
www.vcfed.org facebook.com/vcfederation twitter.com/vcfederation
Evan Koblentz, director Vintage Computer Federation a 501(c)3 educational non-profit
evan@vcfed.org (646) 546-9999
www.vcfed.org facebook.com/vcfederation twitter.com/vcfederation
-- Jeff Brace - ark72axow@gmail.com