0 Members and 2 Guests are viewing this topic.
I thought the hardest part to get used to in Axe was the concept of pointers.Anyway, if you need help with anything, just ask
Very nice update! I hope you can figure out the appvar stuff soon.
.TEST"appvSTUFF"->Str1!If getCalc(Str1)->A getCalc(Str1,10)->AEnd
1->{A}2->{A+1}3->{A+2}5->{A+3}8->{A+4}3->C
For(Z,0,4) If {A+Z}<C C->{A+Z} EndEnd
For(Z,0,4) Text(5,Z*10,{A+Z}>Dec)End
sorry, this may be really stupid question...but you state that STUFF is 10 bytes long but you then say its 5??
also can you just lose the for loops if you only use the appvar to store 1 single number(just the high score)
"BLARG"->Str1getCalc(Str1)->A!If A getCalc(Str1,5)End.The above just either creates or finds an appvar named BLARG that is 5 bytes longIf {A}<S S->{A}End.If the value stored in the first byte of your appvar is less then S,.Store S to the first byte of the appvarText(1,1,{A}>Dec).This is fairly simple - it displays the value..>Dec is the token in the math menu - in TI-Basic, it would turn a number into a decimalRepeat getKey(15)End.Waits for the user to press [CLEAR]
Like this::GetCalc(Str1,2)->A:if A<S:S->{A}:end:GetCalc(Str1)->A:Text(1,1:Text A:Dispgraphthe prob is this doesnt work and i dont know why....but then again im lazy and didnt type your code in...i will soon cause i know it works....Thanks a lot for your help!!!!!!
If A<S S->{A}End
:GetCalc(Str1)->A:Text(1,1:Text A:Dispgraph
Text(1*256+1)!If GetCalc(Str1)→{GetCalc(Str1,2)}ʳ-1End→Vmax({}ʳ,S)→{V}ʳ-1Text {}ʳ►Dec