0 Members and 1 Guest are viewing this topic.
If Q=0??BlargstuffEnd
:10->x:text(0,0,x)
:10->x:x->str1
Thanks, it helped. EDIT:I have another question.I want to save the value of x to a string, so I can see it out of my program. The following doesn't seem to work.Code: [Select]:10->x:x->str1
L1+5→A0→BWhile 1 B+1→B X^10+'0'→{A-1→A}EndIf X/10→XCopy(A,GetCalc("Str1",B),B)
strcmp
If Str1=Str2
In other news, Frey continues kicking unprecedented levels of ass.
As it happens, Axe has a command just for that purpose!expr(Str1,Str2)
Quote from: Freyaday on October 02, 2011, 05:25:14 pmAs it happens, Axe has a command just for that purpose!expr(Str1,Str2)I believe you mean Equ▶String(STR1,STR2). expr (exch) just exchanges two chunks of data and would need a third argurment telling it how much to exchange.
3->{0+L1}6->{1+L1}20->{2+L1}
NUMBER -> {array_index * subarray_length + subarray_index + L1}(the subarray_length starts with 1, not 0)
{row * row_length + column + POINTER}or...{Y * width + X + POINTER}
If each subarray has a different length, you could perhaps make an array containing pointers to each array, although it feels a bit inception-esque to me.