Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
The math functions
Old
DamonDragon13
Junior Member
 
Status: Offline
Posts: 10
Join Date: Mar 2012
Location: Andrews Farm
Default The math functions - 10-02-2012, 06:22 AM

I am wondering what a few of the math functions do. I can't figure them out in my world.

Here are the ones I am confused with.
A!=B
A>=B
A<=B

Two are pretty much the same, so the third one probably doesn't need to be answered.

Thanks
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 10-02-2012, 12:36 PM

Quote:
Originally Posted by DamonDragon13 View Post
I am wondering what a few of the math functions do. I can't figure them out in my world.

Here are the ones I am confused with.
A!=B
A>=B
A<=B

Two are pretty much the same, so the third one probably doesn't need to be answered.

Thanks
They're not math functions, they're logic functions which result in either true or false (to be used in an if/else etc.).

First one: output true if A doesn't equal B.
Second one: output true if A is more than or equal to B, where A and B are both number variables.
Third one: same as second one, but less than or equal to.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.