View Single Post
  #33  
Old 06-19-2007, 11:43 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Novo View Post
PHP Code:
function hasFunctionfuncName )
{
  return ( 
funcName.lower() in this.getFunctions() );

For those who didn't find it out by reading.
The function names are returned in the same case they're declared, why have funcName.lower()? And about functions, could we at least get a different GraalVar type for them? I don't want them confused with objects.

And a second thought, why are you even showing this to us? hasfunction() already exists for all objects now.
__________________
Reply With Quote