Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!hpirs!jrg From: jrg@hpirs.HP.COM (Jeff Glasson) Newsgroups: comp.sys.cbm Subject: Re: Loading machine language files. Message-ID: <4620005@hpirs.HP.COM> Date: 10 Jun 88 17:12:53 GMT References: <5449@ihlpg.ATT.COM> Organization: Hewlett Packard, Cupertino Lines: 12 The problem is that after BASIC finishes executing the LOAD, it restarts executing the program from the beginning. That's the way BASIC works. You could do something like this: 10 if a=1 then 30 20 a=1: load "foo",8,1 30 rem rest of program..... Jeff Glasson Hewlett-Packard Information Software Division UUCP: {ucbvax,hplabs}!hpda!jrg Internet: jrg@hpirs.HP.COM