Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.apple2    |    Discussion about Apple II micros    |    56,720 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 56,165 of 56,720    |
|    martindoherty377@gmail.com to Wyatt Wong    |
|    Re: Routine to detect CPU type (was Re:     |
|    09 May 23 11:43:20    |
      From: martin.doherty@undisclosed.com              On Tuesday, May 9, 2023 at 12:47:06 PM UTC-4, Wyatt Wong wrote:       > On Sunday, 3 December 2000 at 20:12:04 UTC+8, David Empson wrote:        [snip]       > > Here is a BASIC subroutine to implement the above routine.        > > 6000 REM IDENTIFY THE PROCESSOR        [snip]       > > 6060 RETURN        [snip]       >        > 2. In the BASIC Program, line 6060 should be END instead of RETURN. Since       there is NO GOSUB statement, the original line 6060 RETURN will generate an       error.              Wyatt, I think David's BASIC code is OK because it's presented as a subroutine       and is not intended to run as a stand-alone program. I agree that if you want       to exercise the code stand-alone, you would need to either change RETURN to       END, or add a line on        the front like 10 GOSUB 6000 : END              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca