Jump to content



Photo
- - - - -

Questions about programming on a fx-9750/9860


  • Please log in to reply
3 replies to this topic

#1 tnt84268

tnt84268

    Casio Fan

  • Members
  • PipPip
  • 32 posts
  • Gender:Male
  • Location:The Universe

  • Calculators:
    fx-9750gii (ver 2.04)

Posted 28 June 2018 - 01:45 PM

I'm getting into programming in casio basic and have some questions about it.

Say I have a program with two lines of code, does putting the two lines of code onto one line using the colon take up less storage space?

Can I use whitespace? And if so does it affect the amount of bytes the program takes up?

Is there some sort of automatic garbage collection for variables?

Is there variable scope? If so how does it work?

 

I'll probably add more questions to this post as time goes on. 

 



#2 (*)

(*)

    Casio Addict

  • Members
  • PipPipPip
  • 51 posts
  • Gender:Not Telling

Posted 28 June 2018 - 08:57 PM

There are sadly no scopes, variables only are single letters (including theta, ...)

 

You can put stuff into one line with ":"

For example:

If A=0:Then
<something>
IfEnd


#3 tnt84268

tnt84268

    Casio Fan

  • Members
  • PipPip
  • 32 posts
  • Gender:Male
  • Location:The Universe

  • Calculators:
    fx-9750gii (ver 2.04)

Posted 28 June 2018 - 10:01 PM

Correct me if I'm wrong but are there no comparison operators for the fx-9750?

 

Edit: I just realized the command table I was looking at wasn't for the 9750 but another similar casio calc. I found the comparison operators.


Edited by tnt84268, 29 June 2018 - 12:18 AM.


#4 Rhodie

Rhodie

    Casio Fan

  • Members
  • PipPip
  • 35 posts

  • Calculators:
    fx9750gii upgraded to fx9860G&amp;amp;lt;br /&amp;amp;gt;EX995 Classwiz &amp;amp;lt;br /&amp;amp;gt;

Posted 02 July 2019 - 02:28 AM

Actually yes, there are. It looks something like [=>] and works like if then else and goto combined




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users