1
Axe / Using Files (Y0 - Y9) in Axe
« on: December 14, 2012, 02:31:31 pm »
I have an appVar in Archive and want to compare its first bytes with a string:
When i try to compile that i get an "Invalid File Use" error.
Is what i am trying even possible without unarchiving the appVar?
Or would i have to loop through each byte and compare those individually?
Code: [Select]
:.APPARCH
:"TEST"[00]->Str1
:ClrHome
:If GetCalc("appvRANDOM",Y0) //that Y0 in [VARS] [Y-VARS] [Function]
:!If Equ>String(Y0,Str1) //"Invalid File Use"
:Output(0,0,"Erfolg")
:Else
:Output(0,0,"Nichts")
:End
:End
:getkey[sup]r[/sup]
:ClrHome
When i try to compile that i get an "Invalid File Use" error.
Is what i am trying even possible without unarchiving the appVar?
Or would i have to loop through each byte and compare those individually?