Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!uakari.primate.wisc.edu!caen!uwm.edu!ux1.cso.uiuc.edu!milo.mcs.anl.gov!achilles.ctd.anl.gov!curtis From: curtis@achilles.ctd.anl.gov (Jeffrey Curtis ) Newsgroups: comp.sys.apple2 Subject: Re: VAL... Message-ID: <1991Jun25.154112.24082@mcs.anl.gov> Date: 25 Jun 91 15:41:12 GMT References: <9106250928.AA11823@apple.com> Sender: news@mcs.anl.gov Organization: Computing and Telecommunications, Argonne National Laboratory Lines: 31 Nntp-Posting-Host: achilles.ctd.anl.gov In article <9106250928.AA11823@apple.com> ST6934@SIUCVMB.BITNET writes: >On a somewhat similar line, when I first started programming in basic >using basic.system, I wrote (with the help of some books) a program >that accepted a group of numbers and performed various operations. >When I tried using basic.system's STORE and RESTORE, I was only able >to use a hard-coded name, rather than READ $F1, APPEND $F1, etc. after >defining $F1 or some variable. > >Has anyone run into this before, or has STORE/RESTORE been given other >parameters? DTS? If you put it into BASIC properly, it should have worked - since BASIC is interpretive, the command would be parsed and variables substituted before ProDOS ever saw it.. so, hypothetically, 10 ?chr$(4);"store filename" is equivalent to 5 fn$="filename" 10 ?chr$(4);"store ";fn$ Is that how you set it up? If so, and it didn't work, then something's messed up with the parameter passing between ProDOS's Basic.system and the ProDOS BI.. *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+* + Jeffrey S. Curtis (708)972-8585 B41801 AT ANLVM curtis@achilles.ctd.anl.gov + * Computing and Telecommunications, Argonne National Laboratory * + Want a free copy of Heatseeker, the Apple's fastest disk utility? Mail me! + *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*