September 17th, 2000, 07:41 PM
easy one : how do you represent the booleans true/false ? is it just 1/0 ?
for instance, if I have a function that has to return true or false because it is later used in an "if" control structure, what exactly should it return ???
September 17th, 2000, 08:54 PM
Using 1/0 as a boolean TRUE/FALSE would probably be your best bet, yes. It's a lot less typing than checking to see if it's TRUE or FALSE.
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson