such as store string?
also, string search and things like that look pretty cool
or the MENU command to create a menu?
I'm going to have a play
Edited by Mardoxx, 30 May 2009 - 11:56 PM.
Posted 30 May 2009 - 11:54 PM
Edited by Mardoxx, 30 May 2009 - 11:56 PM.
Posted 31 May 2009 - 08:50 PM
ClrText 3 Menu "Title","Yes",0,"No",1,"Cancel",2 Lbl 0 Ans-1 Lbl 1 Ans-1 Lbl 2 Ans-1 ClrText If Not Ans Then "Yes" Else If Ans=1 Then "No" Else "Cancel" IfEnd IfEnd
Posted 28 June 2009 - 02:57 PM
1 Norm 2 EngOff ClrText "Erasing Flash Mem... %" // five spaces "cfxm"->List 1 Do List 1 Do LpWhile Not Ans 0 For 0->I To 100 Step 5 Locate 2,2,I Next Locate 7,2,"Done." LpWhile 1If "Done" appears and you press , it fatally crashes.
"A"->List 1 ""->List 1
Posted 29 June 2009 - 09:50 AM
PS: Strange "Already Exists" error on OS 2.00.
"A"->List 1 ""->List 1
Edited by Martin, 30 June 2009 - 02:05 PM.
Posted 29 June 2009 - 08:10 PM
Well...I think this may be correct behaviour as the interpreter keeps the list's names unique. There are probaly next lists (e.g. List 26) with empty name.
ClrList "A"->List 1 "A"->List 2 => Already exists. No bug ClrList ""->List 1 ""->List 2 => Nothing. Bug? ClrList "A"->List 1 "B"->List 1 => Nothing. No bug. ClrList "A"->List 1 ""->List 1 => Already exists. Bug?Anyway, this raises a very important question: How can you verify that your list name is unique?
List I or List "List_Name" or List Str 1 File I ClrList I Resid-List I => All list commands can use list variables! StoPict I RclPict I RclCapt I ---- Missing support (Will it be in OS 2.10?): BG-Pict I StoGMEM I RclGMEM I Str I // Very useful!
I don't know any, but I remember a bug that produced a math error if some list or matrix commands appeared after an Isz or Dsz command. This was, however, fixed on the Slim and in OS 1.05.Is there some centralized list of known bug of fx9860G
Edited by cfxm, 29 June 2009 - 10:02 PM.
Posted 30 June 2009 - 08:44 AM
Mea culpa. Yes it is a bug. It seems the interpreter first check if change will occur, then if the new name is unique. Unconsidered as usual.:-)Well...
Yes, this would be very useful. I would also appreciate:Missing support (Will it be in OS 2.10?):
Str I // Very useful!
Str 1[4]->A B->Str I[D]2. Local routines support (call code at label specified):
Prog A ... Lbl A ... Return3. Mutientry programs (call program but from label)
1[Day]+2[Hours]-11[ns]|>[min]9. Unlimit N-BASE mode - allow f-mem, clipboard.
Posted 30 June 2009 - 01:38 PM
The problem is that the string has to be initialized. What about returning -1 for error?Empty string should return "", StrLen(empty string) should return 0
""->Str 1 Strlen(Str 1)=0
Edited by cfxm, 30 June 2009 - 01:43 PM.
Posted 30 June 2009 - 01:53 PM
Yes, if it is worthy to differentiate between empty and uninitialized strings.The problem is that the string has to be initialized. What about returning -1 for error?
Edited by Martin, 30 June 2009 - 01:56 PM.
Posted 01 July 2009 - 08:21 AM
It can be shorted to following:As it seems, they did not fix the interpreter bug that produces a system error:
Do {1 Do LpWhile 1The calculator emulator crashes too:-)
Posted 01 July 2009 - 02:40 PM
This will freeze your calculator.Set input/output to linear.
Set mode to dec, hex, bin or oct.
Type in any valid number and press EXE' />.
Set mode to comp.
Type in the carriage return character (Shift' /> + EXE' />).
Press the cursor key.
Edited by cfxm, 01 July 2009 - 02:46 PM.
Posted 01 July 2009 - 03:12 PM
The emulator crashes too:Oh, I forgot to tell you about another bug.
This will freeze your calculator.
Posted 05 September 2009 - 06:16 PM
Edited by cfxm, 06 September 2009 - 07:07 PM.
Posted 17 September 2009 - 11:59 AM
Yes, I tried something similar on old 9850G - it was a simple command line interpreter,with strings stored in lists and very slow display routine.I was thinking about implementing my own Basic-like language using... well, using Casio-Basic.
Nice function.PS: Did you notice that {0}->List "Some" uses the next free entry if it does not exist?
Posted 17 September 2009 - 02:38 PM
Yes, I know. {0}->List "Some" should be the same as 1->Dim List "Some".2->Dim List "Some" // list "Some" updated to 2 items but also...
2->Dim List "Some" // ERROR - because the list has lost it's name in previous step so this fails
Posted 21 September 2010 - 10:20 PM
0 members, 1 guests, 0 anonymous users