This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - blue_bear_94
Pages: 1 ... 55 56 [57] 58 59 ... 68
841
« on: June 05, 2012, 06:59:58 pm »
26→dim(L1 Fill(0,L1 For(A,1,13 1+sum(not(cumSum(not(L1→B Repeat C≠B and not(L1(C //changed randInt(1,26→C End C→L1(B B→L1(C End
Did you type the L1 token (2nd+L1) or the individual letters 'L' '1'?
842
« on: June 05, 2012, 04:00:26 pm »
I removed the "||*temp3==LIST_START+TAG" and the semicolon. It works now, thanks! Edit: Now I need to write from a TI-Basic list to a long array... solutions, anyone? How does ARB_REAL_INT work? Edit 2: Solved! (just a test to read a list)
FILE* WriteListToFilePtr(ESI temp) { int i=0,j=0;; long* u=NULL; if (!(u=malloc(32))) return NULL; clrscr();//! for(i=0;i<8;i++) { u[i]=GetIntArg(temp); printf("u[%d]=%ld\n",i,u[i]); } free(u); ngetchx(); }
843
« on: June 05, 2012, 11:23:59 am »
Do I need to use a while or do-while loop in this example?
case 19: a=GetArgType(argptr); if (a!=LIST_TAG) { DlgError("Arg 2 must be list"); return; } temp3=argptr-1; while (!(*temp3==TRUE_TAG||*temp3==END_TAG||*temp3==LIST_START_TAG)); { temp3=next_expression_index(temp3); } WriteToNBool(*temp3==TRUE_TAG); break; case 20: a=GetArgType(argptr); if (a!=LIST_TAG) { DlgError("Arg 2 must be list"); return; } temp3=argptr-1; while (!(*temp3==FALSE_TAG||*temp3==END_TAG||*temp3==LIST_START_TAG)); { temp3=next_expression_index(temp3); } WriteToNBool(*temp3!=FALSE_TAG); break; case 21: a=GetArgType(argptr); if (a!=LIST_TAG) { DlgError("Arg 2 must be list"); return; } temp3=argptr-1; x=1; while (!(*temp3==TRUE_TAG||*temp3==END_TAG||*temp3==LIST_START_TAG)) { temp3=next_expression_index(temp3); x++; } WriteToNInt(x*(*temp3==TRUE_TAG));
For example, dcth(19,any list with all entries except the first false) will cause an infinite loop. Thanks again in advance!
844
« on: June 05, 2012, 08:49:20 am »
Well, let's see yours.
845
« on: June 05, 2012, 08:48:41 am »
What about saving to/loading from z80 files from your computer?
846
« on: June 04, 2012, 08:49:28 pm »
26→dim(L1 Fill(0,L1 For(A,1,13 1+sum(not(cumSum(0=L1→B Repeat C≠L1(B) and not(L1(C randInt(1,26→C End C→L1(B B→L1(C End
Edit: I realized that I made a mistake. Edit 2: != means not equal (2nd test 2)
847
« on: June 04, 2012, 08:45:31 pm »
So you want a list of 26 random integers from 1 to 26 where each element is not equal to its index?
848
« on: June 04, 2012, 01:31:15 pm »
Does anyone remember C=2πr and A=πr2?
849
« on: June 04, 2012, 09:45:38 am »
At least, that's how I'd do it.
850
« on: June 04, 2012, 09:42:36 am »
Then you'd use two backslashes: \\
851
« on: June 04, 2012, 09:40:54 am »
The problem is that false is always stored, even when there is a true entry in the argument list. Also this is supposed to be used with a Boolean list.
852
« on: June 04, 2012, 09:36:22 am »
Great updates Merth. Glad you're still working on this.
By the way for the archived checkbox, I think you should make Tokens warn with an alert box that checking that box will cause your programs to not be compatible with every emulator and linking software, in case people wonder why they get so many reports about their game not running or sending.
Thanks Kevin! As for the archived checkbox, I'm not sure if I'll add that or not, but it seems like a good idea.
Meanwhile, I started working on a list/matrix editor:
The list/matrix editor is not yet in the newest version, right?
Also, with this version I can't distinguish between | and >. Specifically, in a string, I want to put in '|' and '>=' but it gives me '|>' and '='. Anyway I can fix this? I tried looking into XML file but i wasn't sure what I had to do.
Why we should use backslashes like |\>=\...
853
« on: June 04, 2012, 09:33:52 am »
So do !!
854
« on: June 03, 2012, 06:54:15 pm »
Mine is a Y= screen. It used to be a RAM clear screen, but I stopped using 2.55 MP.
855
« on: June 03, 2012, 04:36:22 pm »
I could just write a similar program in Game Maker or z80 Basic/Asm/Axe or 68k Basic/C.
Pages: 1 ... 55 56 [57] 58 59 ... 68
|