Checksum: 37663 Path: utzoo!utgpu!adam From: adam@gpu.utcs.toronto.edu (Adam R. Iles) Date: Sun, 21-Feb-88 12:24:15 EST Message-ID: <1988Feb21.122415.14241@gpu.utcs.toronto.edu> Organization: University of Toronto Computing Services Newsgroups: comp.sys.cbm Subject: Re: Pet to C64 BASIC conversion References: <3295@cup.portal.com> Reply-To: adam@gpu.utcs.UUCP (Adam R. Iles) Distribution: na In article <3295@cup.portal.com> Brendan@cup.portal.com writes: > > A friend of mine is trying to convert a program in PET basic to c-64 bsic.. >it's a prog for a volleyball team...first I'll slow you the lines: > > 3780 GOTO 3830 > 3790 GOSUB"CONPAST" > 3800 RESTORE"CON"TO"CONPAST" > 3810 V$="CON,SEQ,WRITE" > > Lines 3790 and 3800 are the big problem..it doesn't use any machine > ... > BK >UUCP:...sun!portal!cup.portal.com!Brendan_Patrick_Kehoe >Portal: Brendan The problem you are facing is probably the use of BASIC 4.0 commands being interpreted by a BASIC 2.0 interpreter. This is almost certain if the above was listed on the 64, since the tokens used to represent the commands would be unrecognized by the 64, and it would substitute its own commands. I haven't used either a PET, or a 64 for well over a year (my boards got fried :-(. If you want to get around this you should list the program on a 4.0 machine, or a 64 with an enhanced interpreter (such as was provided by either the BI Bus Card or RTC C-Link which are both distant history now.) Adam R. Iles -- adam@utgpu (UUCP) -- Any opinions stated above may, or may not, refect those of any sane person living, dead, or just sleeping. Adam R. Iles: ...{decvax,ihnp4,utcsri,{allegra,linus}!utzoo}!utcs!adam