Parsing code from a cfg file.
Greetings,
Is it possible at all to take code from a CFG file, parse it, then run it? For example. code.cfg Code:
cs_set_user_money(id, 16000);Code:
..open file, etc.. new szLine[MAX_LINE_LENGTH]; Code:
if (equali(szLine, "cs_set_user_money")) {} |
Re: Parsing code from a cfg file.
I don't believe that that is possible and I would strongly recommend against doing that if it were.
|
Re: Parsing code from a cfg file.
Not possible. You'd have to do what I think you mentioned at the very end of your post.
|
Re: Parsing code from a cfg file.
Thanks for the reassurances guys. I've settled for parsing configs alone and not code.
|
| All times are GMT -4. The time now is 13:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.