eval?
Displaying 1-4 of 4 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Overkill

I know some people think eval() is evil, but being able to evaluate a code string at runtime in VC would rock. In addition, it would also rock out a lot more than using GetInt() and SetInt() and CallFunction() excessively sometimes. Plus eval() would have the advantage of being able to interact with structs if done right. What do you guys say?

Posted on 2005-06-25 22:20:38

Gayo

Don't we all wish

Posted on 2005-06-26 00:27:44

Jesse

All the machinery for this is already in place - I actually had it implemented for a while, but removed it because I couldn't come up with a situation in which CallFunction() didn't suffice. But if we want it, it would be about 15 seconds' work.

EDIT: Well, no, not quite, Jesse. This is only true in non-releasemode. I forget what, but there's some reason the code editing (and evaluation) only works if we actually do the compilation. I'll investigate.

Posted on 2005-06-26 07:30:57 (last edited on 2005-06-26 07:38:56)

zaril

Is he talking to himself?

EDIT: Yeah, I think he is.

Posted on 2005-06-26 08:30:57 (last edited on 2005-06-26 08:31:15)


Displaying 1-4 of 4 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.