Author Topic: Should this work or am I being stupid?  (Read 4451 times)

0 Members and 1 Guest are viewing this topic.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Should this work or am I being stupid?
« on: September 01, 2010, 04:36:34 pm »
Code: (Axe BASIC) [Select]
:.INIT
:"appvRPGSave->Str1
:GetCalc(Str1,9)->A
:Data(100,7,7,0,1,1,1,1,121)->GDB1
:Copy(GDB1,Str1,9
:Archive A
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Should this work or am I being stupid?
« Reply #1 on: September 01, 2010, 04:39:39 pm »
**Copy(GDB1,Str1,9

should be

Copy(GDB1,A,9   ;  A is your pointer to the appvar, not Str1.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Should this work or am I being stupid?
« Reply #2 on: September 01, 2010, 04:42:31 pm »
Also Archive Str1 because Archive takes a filename.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Should this work or am I being stupid?
« Reply #3 on: September 01, 2010, 06:36:41 pm »
Code: [Select]
:.INIT
:"appvRPGSave"->Str1
:Data(100,7,7,0,1,1,1,1,121)->GDB1
:GetCalc(Str1,9)->A
:Copy(GDB1,A,9
:Archive Str1