![Photo](https://secure.gravatar.com/avatar/81ed79adafe6f2ecd82475a77fee4ae6?s=100&d=https%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png)
Need Help With Program
#1
Posted 03 May 2005 - 08:23 PM
Kind of new here and just wandered if I could get some help with a program I am making.
\Lbl 1
\Norm
\Cls
\Text 3,5,"XSOLVER.©.2005 BARNETV"
\Text 9,1,"--------------------------------"
\Green \Text 20,5,"TYPE EQUATION INTO GRAPH Y1"
\Text 35,5,"ARRANGE EQUATION SO THAT"
\Text 45,5,"ONE SIDE EQUALS ZERO"
\Green \Text 57,5,"NOTE: SOLVES ONLY ONE ANSWER"
\Do
\LpWhile \Getkey\<>31
\Cls
2\->B
\Solve(\Y 1,0)\->A
\Text 25,30,"X="
\Text 25,40,A\Disp\Goto1
%End
I have wrote the whole program but can't find the "Disp" button at the end, this makes the program bugging.
#2
Posted 03 May 2005 - 08:34 PM
#3
Posted 03 May 2005 - 10:05 PM
![<span class=](/dot/public/style_emoticons/default/SHIFT.jpg)
![<span class=](/dot/public/style_emoticons/default/VARS.jpg)
![<span class=](/dot/public/style_emoticons/default/F5.jpg)
#4
Posted 04 May 2005 - 11:35 AM
Just can't understand why I get "Syn ERROR"
Any suggestion?
Also tried to make the game called PONG, but also there I got "Syn ERROR"
Please help me
![:D](/dot/public/style_emoticons/default/biggrin.png)
#5
Posted 04 May 2005 - 01:09 PM
And please be sure to use the commands from the menus (e.g. Solve( ) and not to type them in.
Thx Huhn
#6
Posted 04 May 2005 - 01:44 PM
LpWhile \Getkey\<>31
tnx
![:)](/dot/public/style_emoticons/default/smile.png)
#7
Posted 04 May 2005 - 04:49 PM
What calc do you have? If you have the old CFX9850G not the GB Plus: In the games I wrote on my old CFX 9850G (it's broken meanwhile, may it rest in peace) I noticed a bug when you try to evaluate the result returned by getkey directly (e.g. "if getkey = ..."). For the new GB Plus this works fine though.
I bypassed the problem by
Do Getkey->K LpWhile K <> 31
PS: If you mean the return symbol by "\", you must type "\LpWhile Getkey<>31" not "\LpWhile \Getkey\<>31". But I guess this isn't the problem else "\Green \Text 20,5,"TYPE EQUATION INTO GRAPH Y1"" would give an error already
PPS: Ensure you have a "Do" before the "LpWhile" (but in your first post you have it)
#8
Posted 04 May 2005 - 07:33 PM
may be your problem, as i recall some models had problems using : in quotes, change it to:
\Green \Text 57,5,"NOTE- SOLVES ONLY ONE ANSWER"
and see if the problem goes away.
#9
Posted 04 May 2005 - 11:24 PM
when the condition of the => is FALSE, the execution continues after the first 'return' or ':', even if it's inside quotes...
---
syn error : did you write <> of =/= (not-equals-symbol) ?
<>, or >< or != or =/= are txt representations of the not-equals-symbol, you must not type the two symbols < and >
---
marco : the \ in txts is just a symbol indicating the following atom is a "command" (i.e. you must type it from menus, not letter by letter) (and we see that <> is a "command" and not the two chars < and >)
#10
Posted 05 May 2005 - 04:00 AM
I bet this Pong game he mentioned is mine too!!!!
![:angry:](/dot/public/style_emoticons/default/mad.gif)
This deserves a warning!
![<_<](/dot/public/style_emoticons/default/dry.png)
====EDIT====
Sorry about this post. Thanks for apologising.
I just dislike it when people claim programs as their own. I had a few bad experience when I was at school.
#11
Posted 05 May 2005 - 08:48 AM
I didn't made the program but I still got problems with it.
I said some stupid things in the beginning of this topic, thats beacause I was so frustraded we I couldn't get the program running...
I didn't mean to steal your program, just try it out.
![:huh:](/dot/public/style_emoticons/default/huh.png)
By the way I still can't get the program working even after I changed <> to goto. What I haven't done is to use all the / in the program.
#12
Posted 05 May 2005 - 09:07 AM
@barnetv: you should download FA123, is free for download, and it will allow you to see the code 'properly' without all the extra slashes and with the correct symbols
![:)](/dot/public/style_emoticons/default/smile.png)
#13
Posted 05 May 2005 - 09:10 AM
\Text 3,5,"XSOLVER.?.2005 BARNETV"
btw, i'm trying to think of what he typed wrong
@barnetv: dont include the / in the program. they shouldnt be there.By the way I still can't get the program working even after I changed <> to goto. What I haven't done is to use all the / in the program.
download FA123 here
http://www.casioed.n...ducts/fa123.htm
also, does your calculator have the Solver function? X-Solver does the same thing as Solver.
#14
Posted 05 May 2005 - 09:37 AM
yeah, i forgive you barnetv. can you at least change his name in the first post to mine. thanks andy.
btw, i'm trying to think of what he typed wrong
@barnetv: dont include the / in the program. they shouldnt be there.
download FA123 here
http://www.casioed.n...ducts/fa123.htm
also, does your calculator have the Solver function? X-Solver does the same thing as Solver.
Thanks
![:D](/dot/public/style_emoticons/default/biggrin.png)
Yes my calc do have something called G-solv.
Just wanted to see what the program did.
Are there any places I can find progs for my math term next week?
Anything that solves "Power" I don't know exactly what it's called in english.
But number or letters that have a small number upside in right corner.
Or any program that solves cubes, circles or triangles in easy way. Also algorithm.
Cos, sin, tan and that stuff..
Thank you guys
![:D](/dot/public/style_emoticons/default/biggrin.png)
#15
Posted 05 May 2005 - 09:41 AM
visit here for more math programs.
http://charliewatson...io/casprog.html
you should consider buying/building a computer link cable as well.
For building visit: http://casiofortissimo.earthforge.com/
For buying visit: http://charliewatson...o/casorder.html
#16
Posted 05 May 2005 - 10:04 AM
#17
Posted 05 May 2005 - 10:11 AM
![:)](/dot/public/style_emoticons/default/smile.png)
btw, i think your member title is wrong. is it meant to say Forum Ghost?
#18
Posted 05 May 2005 - 05:14 PM
Now I have managed to make a lot of programs. Thank you guys
![:D](/dot/public/style_emoticons/default/biggrin.png)
But I wandered if anyone of you got a program for "Probability" or "Trigonometry"?
Please let me know
![:)](/dot/public/style_emoticons/default/smile.png)
#19
Posted 05 May 2005 - 09:55 PM
What features do you need? For my final math exam in school two years ago I made a Casio CFX program called "MathMatX" (it helped me passing that exam very wellBut I wandered if anyone of you got a program for "Probability" or "Trigonometry"?
![:D](/dot/public/style_emoticons/default/biggrin.png)
geometrie / trigonometry (location of point/even/plane to each other, vectors, circles, area and volumina, polygons, ...),
propability / stochastics (binominal distribution, conditional propability, PHI function, Tschebyscheff inequations)
prime numbers, LCM/GCD and polynominal divisions.
The only thing is that it's german version only, but I also started making an english version (though didn't finish it). Finishing it yet wouldn't be a problem for me as there are only few strings left to translate.
#20
Posted 06 May 2005 - 01:17 AM
![:)](/dot/public/style_emoticons/default/smile.png)
#21
Posted 06 May 2005 - 10:06 AM
Now I have "Installed" the program called "TRIANGLE.CAT" on my calc. I worked fine, with no errors but I can't write numbers into any of the things on the left side.
BX:
CX:
A-:
It is just blinking 0. I can push EXE and then it jump to the next but I can't write in them
![:blink:](/dot/public/style_emoticons/default/blink.png)
![:blink:](/dot/public/style_emoticons/default/blink.png)
Please help.. Looks like a great program
![:)](/dot/public/style_emoticons/default/smile.png)
#22
Posted 06 May 2005 - 10:21 AM
f1 = -0.1
f2 = +0.1
f3 = - 1
f4 = + 1
f5 = - 5
f6 = + 5
i think thats it anyway
![:)](/dot/public/style_emoticons/default/smile.png)
Leave a number set to 0 to solve that value, and exe to confirm a value entered.
#23
Posted 08 May 2005 - 10:17 AM
What features do you need? For my final math exam in school two years ago I made a Casio CFX program called "MathMatX" (it helped me passing that exam very well
) providing much things:
geometrie / trigonometry (location of point/even/plane to each other, vectors, circles, area and volumina, polygons, ...),
propability / stochastics (binominal distribution, conditional propability, PHI function, Tschebyscheff inequations)
prime numbers, LCM/GCD and polynominal divisions.
The only thing is that it's german version only, but I also started making an english version (though didn't finish it). Finishing it yet wouldn't be a problem for me as there are only few strings left to translate.
Hi.
I have my math term at Tuesday, so I was hoping you could show me the program before that
![:)](/dot/public/style_emoticons/default/smile.png)
Thanks
![:D](/dot/public/style_emoticons/default/biggrin.png)
#24
Posted 08 May 2005 - 01:19 PM
![:)](/dot/public/style_emoticons/default/smile.png)
![:D](/dot/public/style_emoticons/default/biggrin.png)
#26
Guest_Guest_*
Posted 11 May 2005 - 01:46 PM
![:D](/dot/public/style_emoticons/default/biggrin.png)
![:D](/dot/public/style_emoticons/default/biggrin.png)
![:D](/dot/public/style_emoticons/default/biggrin.png)
#27
Posted 12 May 2005 - 12:37 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users