Thread: Readding eval()
View Single Post
  #29  
Old 03-23-2007, 11:08 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm the use of eval() for that sounds quite tricky though, it might be better to add support for adding new functions to classes or remove functions. Then it would be easy to find the code that is responsible for something (may be should add support for sub-folders for classes?) instead of having some dynamic code hidden in some script variables.
Also this would work for clientside too since classes are sent to clientside (working much better with the next Graal version), while an eval() function would not work for clientside since the client cannot compile scripts.
Reply With Quote