++ for the effort.
In my opinion what you want to do is something like a command interpreter: an interactive environment inside which you can write a command and get some action/calculation done.
If this is the case, the first thing you need is defining the syntax of the acceptable commands, next you need a parser to interpret and validate each command and then comes the business logic that make the actions.
Is this sounding like what you were searching for?
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: i will change the title once i now what i'm asking for
by psini
in thread command interpreter
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |