Page 1 of 1

bool

Posted: Mon Oct 25, 2004 4:58 pm
by SirCheese
So today I took some advice I have seen posted at least 1 time on these boards. I read the Manual!!! Learned a ton. Was great advice.

However I still dont understand what the bool command is for. Can anybody give me some help on this?

Posted: Mon Oct 25, 2004 5:41 pm
by blueninja
There's no /bool command. Are you talking about the TLO ${Bool[]} ? In that case it simply returns an object of the type bool which is a single byte value (true or false).

Not something you use every day but could have it's uses for example if you have an ini file and you want to define a toggle with a written true or false instead of a cryptic 1 or 0. You could then do something like /if (${Bool[${Ini[something]}]}) ...