Archive for June, 2008

How to Use Boolean operators?

Saturday, June 14th, 2008 Posted in Dealing with Branching Statements | No Comments »

Rather than examine a single Boolean expression, your program may need to examine two or more Boolean expressions. For example, the following program checks the Boolean expression (Salary ... Read more..

How to use variables in Boolean expressions?

Saturday, June 14th, 2008 Posted in Dealing with Branching Statements | No Comments »

The sample program in the preceding section uses a Boolean expression (4 < 54) that’s fairly useless because it’s always true. Every time that you run the program, ... Read more..

How to store Boolean expressions in variables?

Saturday, June 14th, 2008 Posted in Dealing with Branching Statements | No Comments »

Many programming languages let you define a variable as a Boolean data type. In REALbasic, you can define a variable as a Boolean data type like this: Dim Guilty ... Read more..

How to Use Boolean Expressions

Saturday, June 14th, 2008 Posted in Dealing with Branching Statements | No Comments »

To make any decision, you first need to ask a question such as, “Do I feel like eating a hamburger?” If the answer is yes, you go to a ... Read more..

How to Convert Strings into Numbers (And Vice Versa)

Saturday, June 14th, 2008 Posted in Number and Strings | No Comments »

A string can consist of letters, symbols, and numbers. The most common use for storing numbers as a string is when the numbers represent something special, such as ... Read more..



eXTReMe Tracker