0 Members and 1 Guest are viewing this topic.
Repeat Ans=45Output(B,A," max(1,min(16,A-(Ans=24)+(Ans=26→Amax(1,min(8,B-(C=25)+(C=34→B //C is evaluated here! If C is 25 or 34, the thing will moveOutput(B,A,"*Repeat AnsgetKey→C //and here C is being resetEndEnd
For(A,1,500DelVar CEnd
For(A,1,500Ans->CEnd
Coudln't we also optimize it to Delvar A,B,C then?
I think so Sorunome
DelVar ADelVar BDelVar C
Delvar AA+1->A
1->A
You could doCode: [Select]DelVar ADelVar BDelVar CThat's the same size (since you don't need new lines in between)
DelVar ADelVarBDelVarCClrHome //I don't think commas work for DelVars.Repeat Ans=45max(1,min(16,A-(Ans=24)+(Ans=26→Amax(1,min(8,B-(C=25)+(C=34→BOutput(B,A,"*Repeat AnsgetKey→CEndOutput(B,A," End
Actually, you CAN do the DelVars.