In reply to: Here -- Xorlak 04:07:00 12-07-2004
For the love of Pete... Posted by: Colin 05:40:40 12-07-2004 |
... "==" is the comparison operator. This is especially integral in 3.05 where I actually differenciate. Here's a nifty example of the difference:
method pause()
{
until (key$ = wait() ~= "LEFT" && key$ ~= "RIGHT" && key$ ~= "UP" && key$ ~= "DOWN") {}
}
In fact, I'd suggest you all look at some awesome OOP related stuff I've thrown together. 3.05 will feature a complex OOP system with ploymorphism, inheritance, function overloading, operator overloading and tons of cool stuff! You won't want to miss it! :P