I watched a site for programming some small games. What does Int means?

What Is Int Int?
Started by
hamregutten
, Aug 29 2007 07:59 PM
8 replies to this topic
#1
Posted 29 August 2007 - 07:59 PM
#2
Posted 29 August 2007 - 08:57 PM
And what is BRan#?
#3
Posted 30 August 2007 - 05:06 AM
Hello hamregutten and welcome to the UCF! 
The BASIC command Int basically converts a number to a integer if not a integer already. For example:
For BRan#, I assume you meant Ran#. Ran# gives you back a random number between 0 and 1. You can increase the range by changing the default multiplicand of 1 to a different number. For example:

The BASIC command Int basically converts a number to a integer if not a integer already. For example:
Int 5.58782758279Would give you back 5
For BRan#, I assume you meant Ran#. Ran# gives you back a random number between 0 and 1. You can increase the range by changing the default multiplicand of 1 to a different number. For example:
5Ran#By multiplying Ran# by 5, it will give you a random number between the range 0 and 5.
#4
Posted 30 August 2007 - 06:10 AM
Ok, thanks for the answer, but can you give me an example of which buttons i have to press for Int an Ran#?
Can you show me what to press in this line:
??
You see the Int BRan#+1
E. I have a Casio CFX 9850 GC PLUS if that helps but which buttons do I have to press for typing in that line??
Sorry, but I'm a newbie from Norway (Therefore my misspelling).
Can you show me what to press in this line:

You see the Int BRan#+1

Sorry, but I'm a newbie from Norway (Therefore my misspelling).
#5
Posted 30 August 2007 - 06:22 AM
Oh, now I understand. The B before Ran# was a variable.
For Int:
1.
OPTN' />
2.
F6' />
3.
F4' />
4.
F2' />
For Ran#:
1.
OPTN' />
2.
F6' />
3.
F3' />
4.
F4' />
For more info about where to find more BASIC commands, please take a look at these documents:
http://www.casioeduc...0g/9850prgm.pdf
http://www.brianhetr...io/ikeyseq.html
For Int:
1.

2.

3.

4.

For Ran#:
1.

2.

3.

4.

For more info about where to find more BASIC commands, please take a look at these documents:
http://www.casioeduc...0g/9850prgm.pdf
http://www.brianhetr...io/ikeyseq.html
#6
Posted 30 August 2007 - 06:31 AM
Thanks for learning me some new thing. Helped me a lot...

#7
Posted 31 August 2007 - 06:25 AM
Hey, no problem. It's our duty to help. 
If you have any more questions just ask.

If you have any more questions just ask.

#8
Posted 31 August 2007 - 05:28 PM
By the way, some calculators have the catalog (for the fx-9860G is
Shift' />
4' />). It shows you all commands you can use.


#9
Posted 01 September 2007 - 04:01 PM
I think the catalog feature is kind of new on CASIO's. I believe only the fx-9860G has them.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users