Edited by NeilPatrickHarris, 18 March 2015 - 10:14 AM.
Could You Help Me?
#1
Posted 18 March 2015 - 10:10 AM
#2
Posted 20 March 2015 - 06:21 AM
-Programming language is Basic
-The programming is mentioned in the UG on pages 101-124
http://support.casio...fx-5800P_EN.pdf
-Here on the forum is very nice programming tutorial for CASIO Basic
- You can download UG for other programmable models (Algebra models, fx-7400, fx-9750, fx-9760G, fx-3650P).
http://support.casio...ist.php?cid=004
-visit following blog
http://edspi31415.bl...-length-of.html(on the right side is more programs, you can find on the blog some programs for fx-3650P also)
- download following book
fx-3650p practical programming examples
http://www34.zippysh...4S6oM/file.html
Basic Programming CASIO
http://www.casio.edu...Programming.pdf
Fix0: "what is your born year?"?->a:"what is your father's born year?"?->b:a-b->c:''your father was'':c(put here triangle mark as output command)
''years old''
Edited by pan.gejt, 20 March 2015 - 06:30 AM.
- NeilPatrickHarris likes this
#3
Posted 20 March 2015 - 09:19 AM
Hi,
You can use CASIO Basic with fx-5800P. This language is minimal Basic but considering hardware performance (CPU clock, etc) the function is good enough. fx-5800P, fx-9860G, fx-9860GII, fx-CG10 and fx-FD10 Pro has 'New Generation' of CASIO Basic and there is compatibility. fx-5800P CASIO Basic has limitation, less commands than otheres, for example, it has no string handling commands, no I/O commands, etc.
If you cope with the limitation, you can still make useful programs.
CASIO Basic has a couple of 'dialects', those are old commands which has been prepared for old CASIO calcs as follows;
? (input command)
" " (output command)
=> (jump command)
CASIO Basic has -> command for substitution.
When you want to substitute 10 to variable A, probably you write A=10. With CASIO Basic you should write 10->A
All other commands of CASIO Basic is very similar to ordinary Basic languages.
There are, If, For, While, Do, Break, Return, etc. Probably you are familiar with those commands, something may be deferent from FORTRAN, but should be similar.
With CASIO Basic there is 2 commands for input; ? (see above) and Getkey command.
Also there are 2 output commands; " " and Locate command.
If you want to write as exactly required in your question, program is as follows;
"what is your born year"?A
"what is your father's year"?B
"your father was"
""
Locate 1,4,A-B
Locate 4,4,"years old"
----
The usage of input command, ? here is different from pan.gejt's solution, please see there is no '->'.
If you compare with the "bla bla bla"?->A and "bla bla bla"?A, you will see deference from their output.
But please note Basic commands are almost 100% compatible.
" " (output) command also send carriage return and line feed. "" does output NO caracters but send carriage return and line feed only.
Please try!
Edited by Krtyski, 20 March 2015 - 09:42 AM.
- pan.gejt likes this
#4
Posted 27 March 2015 - 05:40 AM
-Programming language is Basic
-The programming is mentioned in the UG on pages 101-124
http://support.casio...fx-5800P_EN.pdf
-Here on the forum is very nice programming tutorial for CASIO Basic
- You can download UG for other programmable models (Algebra models, fx-7400, fx-9750, fx-9760G, fx-3650P).
http://support.casio...ist.php?cid=004
-visit following blog
http://edspi31415.bl...-length-of.html(on the right side is more programs, you can find on the blog some programs for fx-3650P also)
- download following book
fx-3650p practical programming examples
http://www34.zippysh...4S6oM/file.html
Basic Programming CASIO
http://www.casio.edu...Programming.pdf
Fix0: "what is your born year?"?->a:"what is your father's born year?"?->b:a-b->c:''your father was'':c(put here triangle mark as output command)
''years old''
Thank you, i got it
Hi,
You can use CASIO Basic with fx-5800P. This language is minimal Basic but considering hardware performance (CPU clock, etc) the function is good enough. fx-5800P, fx-9860G, fx-9860GII, fx-CG10 and fx-FD10 Pro has 'New Generation' of CASIO Basic and there is compatibility. fx-5800P CASIO Basic has limitation, less commands than otheres, for example, it has no string handling commands, no I/O commands, etc.
If you cope with the limitation, you can still make useful programs.
CASIO Basic has a couple of 'dialects', those are old commands which has been prepared for old CASIO calcs as follows;
? (input command)
" " (output command)
=> (jump command)
CASIO Basic has -> command for substitution.
When you want to substitute 10 to variable A, probably you write A=10. With CASIO Basic you should write 10->A
All other commands of CASIO Basic is very similar to ordinary Basic languages.
There are, If, For, While, Do, Break, Return, etc. Probably you are familiar with those commands, something may be deferent from FORTRAN, but should be similar.
With CASIO Basic there is 2 commands for input; ? (see above) and Getkey command.
Also there are 2 output commands; " " and Locate command.
If you want to write as exactly required in your question, program is as follows;
"what is your born year"?A
"what is your father's year"?B
"your father was"
""
Locate 1,4,A-B
Locate 4,4,"years old"
----
The usage of input command, ? here is different from pan.gejt's solution, please see there is no '->'.
If you compare with the "bla bla bla"?->A and "bla bla bla"?A, you will see deference from their output.
With fx-5800P and fx-FD10 Pro you can use "bla bla bla"?A, but cannot do with fx-9860(GII) and fxCG10. This is a good example there still be dialect on old commands.
But please note Basic commands are almost 100% compatible.
" " (output) command also send carriage return and line feed. "" does output NO caracters but send carriage return and line feed only.
Please try!
Thank you i got it.
Also tagged with one or more of these keywords: fx-5800p, programming, casio, help, language
General →
General Discussion →
Casio Fx9860GIII self-test mode/debug/factory modeStarted by Joyful_Diamond , 19 Oct 2024 self test mode, factory mode and 8 more... |
|
|
||
Programming →
Casio Basic →
ASCII conversion table on fx G seriesStarted by Just_A_Noob_Here , 20 Jul 2024 ascii, casio, programming and 4 more... |
|
|
||
Calculators →
Casio CFX/AFX/FX/Prizm →
Audio player programStarted by NIPro , 22 May 2024 Audio Player, CFX, Casio, 9850 and 3 more... |
|
|
||
Answered
Calculators →
Casio CFX/AFX/FX/Prizm →
Where i can buy FA-123 cable for cheap?Started by NIPro , 23 Mar 2024 Cable, FA-123, FA-124, CFX, Casio and 5 more... |
|
|
||
Calculators →
Casio CFX/AFX/FX/Prizm →
Zoom on Casio fx-9860IIIStarted by kozardii , 12 Jan 2024 help, casio fx-9860giii |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users