Cannot assign a complex number to a List element
4 posts
• Page 1 of 1
- brickviking
- Member
- Posts: 27
- Joined: Fri Aug 28, 2015 5:10 am
- Calculators: Casio fx-9750G PLUS, Casio fx-9750GII (SH4)
Cannot assign a complex number to a List element
I accidentally erased all the programs on my 9750g+, an easy thing to do when running calculator tests, and now I'm having a little trouble trying to retro-fit my Grocery program from the 9750gII back to the g+.
I've struck an issue where I cannot assign a number with a complex part (i.e. 5+3i) to a List member (5+3i->List 4[1]), I get "Syn Error" with the pointer stuck on List. Any way I can do this on a 9750G+? It's certainly possible on the 9750GII. I even tried 5+3i->Y, then Y->List 4[1], but again, the calculator wasn't having it (slang for wouldn't accept it).
I vaguely remember having to do some chicanery with DIM List, but as I don't remember what the command was, I can't figure out how to fix what I have so that it works.
(Post 25)
Cheers for now, BrickViking (a.k.a. DrSmokey)
I've struck an issue where I cannot assign a number with a complex part (i.e. 5+3i) to a List member (5+3i->List 4[1]), I get "Syn Error" with the pointer stuck on List. Any way I can do this on a 9750G+? It's certainly possible on the 9750GII. I even tried 5+3i->Y, then Y->List 4[1], but again, the calculator wasn't having it (slang for wouldn't accept it).
I vaguely remember having to do some chicanery with DIM List, but as I don't remember what the command was, I can't figure out how to fix what I have so that it works.
(Post 25)
Cheers for now, BrickViking (a.k.a. DrSmokey)
Regards, BrickViking
- Hlib2
- Junior Member
-
- Posts: 4
- Joined: Fri Jan 31, 2020 5:31 pm
- Location: Ukraine
- Calculators: Casio Cfx Series, Casio Afx 2.0, Casio fx-7400G PLUS, Casio fx-9750G PLUS, Casio fx-9750GII, Casio fx-9860GII
Re: Cannot assign a complex number to a List element
fx-xxx_gii contains commands for working in older models. They are at the very end of the CATALOG list. I had a similar problem with transferring data from fx-9860gii(SH4) to cfx-9850gb+/graph25. In the program text of your 9750gii, try replacing [List_][4] with the [List4] command. Both versions of this command work in gii, but not in 9750g.
- brickviking
- Member
- Posts: 27
- Joined: Fri Aug 28, 2015 5:10 am
- Calculators: Casio fx-9750G PLUS, Casio fx-9750GII (SH4)
Re: Cannot assign a complex number to a List element
I'm a little lost with regard to your [List_][4] comment (yes, I'm still 'new' to 9750/9860 programming). I'd have to assume those are the internal tokens. In the BASIC editor on the 9750G+, I type List (reached from Optn->List), then 4[1], which gives us: List 4[1]. I can't get to the CATALOG command as it's not there. I also can't transfer from the 9750Gii to the G+, as I don't have the special calculator-calculator cable, nor can I make one (no 2.5 mm plugs). The issue I actually have is trying to assign any complex number to ANY list variable on the G+.
Here's some output from trying to run a single line on the G+:
The same line works fine on the GII:
Here's some output from trying to run a single line on the G+:
- Code: Select all
1i->List 4[1]
Syn Err
The same line works fine on the GII:
- Code: Select all
1i->List 4[1]
1.00+1.00i
Regards, BrickViking
- Hlib2
- Junior Member
-
- Posts: 4
- Joined: Fri Jan 31, 2020 5:31 pm
- Location: Ukraine
- Calculators: Casio Cfx Series, Casio Afx 2.0, Casio fx-7400G PLUS, Casio fx-9750G PLUS, Casio fx-9750GII, Casio fx-9860GII
Re: Cannot assign a complex number to a List element
I did not quite understand your difficulty before. Now it is clear. It seems that fx-9750g+ does not initially work with complex numbers in lists. This also follows from the user manual for fx-9750GPLUS CFX-9850GPLUS CFX-9850GBPLUS CFX-9850GCPLUS CFX-9950GBPLUS/Chapter 4, Chapter17, there is no mention of such a possibility there.
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 32 guests