Jump to content



Photo
- - - - -

Need Help With Program


  • Please log in to reply
26 replies to this topic

#1 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 03 May 2005 - 08:23 PM

Hello,

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 s509

s509

    Newbie

  • Members
  • Pip
  • 26 posts

  • Calculators:
    my head
    FX 1.0
    cfx 9850

Posted 03 May 2005 - 08:34 PM

are u talking about the little triangle that is turned sideways?

#3 octobclrnts

octobclrnts

    Casio Freak

  • Members
  • PipPipPipPip
  • 145 posts
  • Location:Pennsylvania, United States
  • Interests:Computers<br />Programming languages<br />Artificial Intelligence<br />Music (clarinet)

  • Calculators:
    Casio CFX 9850GB Plus
    Ti-89 Titanium

Posted 03 May 2005 - 10:05 PM

The disp stands for display and it is symbolized by a triangle. Get to it by doing: <span class=Shift' /> <span class=VARS' /> <span class=F5' /> while in edit mode.

#4 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 04 May 2005 - 11:35 AM

Thanks I found it, but unfourtunately that wasn't the problem.

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

#5 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 04 May 2005 - 01:09 PM

In what line? Show us the line the cursor jumps to. You must press left or right in order to see the source code that produced the error (on CFX).

And please be sure to use the commands from the menus (e.g. Solve( ) and not to type them in.

Thx Huhn

#6 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 04 May 2005 - 01:44 PM

I seems like I am getting the error in the line:

LpWhile \Getkey\<>31

tnx :)

#7 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 04 May 2005 - 04:49 PM

That lines syntax is OK.

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 CrimsonCasio

CrimsonCasio

    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 04 May 2005 - 07:33 PM

\Green \Text 57,5,"NOTE: SOLVES ONLY ONE ANSWER"

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 Overlord

Overlord

    Casio Technician

  • Moderator
  • PipPipPipPipPipPip
  • 355 posts
  • Gender:Male
  • Location:Brussels - Belgium
  • Interests:Math Researcher

  • Calculators:
    My head - C300 OS 3.00 - G100 Rom 1.02 - G65 - G60 - G25

Posted 04 May 2005 - 11:24 PM

Generally, : inside quotes gives problems when used with the => operator :

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 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 05 May 2005 - 04:00 AM

what the??? that's my program....XSolver. I wrote that (a very pointless program). it's exactly the same, besides the authors name. I think barnetv is stealing my program. Check my site and you'll see.
I bet this Pong game he mentioned is mine too!!!! :angry:

This deserves a warning! <_<

====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 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 05 May 2005 - 08:48 AM

Ok sorry,

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:

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 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking &amp; Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool &amp; Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 05 May 2005 - 09:07 AM

@Casiokingdom: Easy man! he said sorry, and thats all that really matters, i changed a name on one of Ross's progs when i first started programming, and when he told me, i changed it back to his, and appologised.

@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 :)

#13 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 05 May 2005 - 09:10 AM

yeah, i forgive you barnetv. can you at least change his name in the first post to mine. thanks andy.

\Text 3,5,"XSOLVER.?.2005 BARNETV"


btw, i'm trying to think of what he typed wrong

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.

@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.

#14 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

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.

<{POST_SNAPBACK}>



Thanks :D

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

#15 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 05 May 2005 - 09:41 AM

using graph mode and g-solv is probably the best way to solve most equations. but use the Polynomial solver for "powers". that's not in the graph mode.

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 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking &amp; Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool &amp; Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 05 May 2005 - 10:04 AM

My site ( http://casiofortissimo.earthforge.com ) has a huge maths section for you calc :)

#17 casiokingdom

casiokingdom

    UCF BASIC Programming 2nd Place

  • Members
  • PipPipPipPipPipPipPip
  • 782 posts
  • Gender:Male
  • Location:Perth, WA, Australia

  • Calculators:
    CFX-9850GB PLUS WE, fx-9860G AU

Posted 05 May 2005 - 10:11 AM

Andy, i never really noticed how many programs you have in your site. :) I could have used some of your chem programs last year.
btw, i think your member title is wrong. is it meant to say Forum Ghost?

#18 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 05 May 2005 - 05:14 PM

Hello,

Now I have managed to make a lot of programs. Thank you guys :D .

But I wandered if anyone of you got a program for "Probability" or "Trigonometry"?
Please let me know :)

#19 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 05 May 2005 - 09:55 PM

But I wandered if anyone of you got a program for "Probability" or "Trigonometry"?

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 :D) 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.

#20 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking &amp; Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool &amp; Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 06 May 2005 - 01:17 AM

like i said, goto my site, and look under AFX > Programs and the "Mine and Betoes" or any of the Maths pages :)

#21 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

Posted 06 May 2005 - 10:06 AM

Hi Andy,

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: :blink:

Please help.. Looks like a great program :)

#22 Andy.Davies

Andy.Davies

    Forum Ghost

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1547 posts
  • Gender:Male
  • Location:Dorset, England
  • Interests:Age: 18
    Studying: MEng in cybernetics at Reading uni
    Interests: Progaming (VB, VB.Net, C#, Casio Basic)
    Computers UBBD (Using, Building, Breaking &amp; Destroying)
    Gaming (FPS, RTS, RPG)
    Electronics
    Rock Music (Preferably Loud)
    Riley's (Pool &amp; Snooker Bar)
    Driving (Preferably fast)
    Aikedo (Martial Art)

  • Calculators:
    Algebra FX 2.0 ROM 1.01, FX9750G

Posted 06 May 2005 - 10:21 AM

haha! if remember correctly, use the f-keys to change the value, i think:

f1 = -0.1
f2 = +0.1
f3 = - 1
f4 = + 1
f5 = - 5
f6 = + 5

i think thats it anyway :)

Leave a number set to 0 to solve that value, and exe to confirm a value entered.

#23 barnetv

barnetv

    Newbie

  • Members
  • Pip
  • 9 posts

  • Calculators:
    CASIO CFX-9850GC PLUS

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  :D) 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.

<{POST_SNAPBACK}>



Hi.

I have my math term at Tuesday, so I was hoping you could show me the program before that :)

Thanks :D

#24 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 08 May 2005 - 01:19 PM

marcos program is really nice. He could only have provided a better documentation since it is in some places quite difficult to use.

:) I use it too (next t o2 other math programs and like it very much :D )

#25 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 08 May 2005 - 04:13 PM

I have my math term at Tuesday, so I was hoping you could show me the program before that :)

Sure, it's HERE. Well, I said I could finish the translation, but I can't do it to Tuesday which is already the day after tomorrow, sorry :(

#26 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 11 May 2005 - 01:46 PM

Yeah now I am finished with my exam, and it worked fine without the program. But I was hoping you could translate so that I could use it another time :D .... You see I got this link between my computer and calc so now I don't have to write the programs :D :D

#27 Marco

Marco

    Casio Freak

  • Members
  • PipPipPipPip
  • 185 posts
  • Location:Dresden, Germany

  • Calculators:
    Casio CFX 9850G (broken),
    Casio CFX 9850GB,
    Casio Algebra FX 2.0 Plus

Posted 12 May 2005 - 12:37 PM

OK I'll put it to the file sharing when done




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users