Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 5 and Version 6 of code/doc/CommandExecutor


Ignore:
Timestamp:
Oct 7, 2008, 6:39:56 PM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/CommandExecutor

    v5 v6  
    146146
    147147=== evaluate() ===
     148'''evaluate('''''string''''')''' parses ''string'' just as execute() but doesn't execute the command. Instead an instance of [wiki:CommandEvaluation] is returned, containing the command split up into a a pointer to the [wiki:ConsoleCommand] and a list of all arguments stored in [wiki:MultiType MultiTypes] already converted to the desired type.
     149
     150With this you can separate between parsing and execution of a command which is useful if you need good performance (for example if a command is [wiki:KeyBinder bound] to a key and pressed 20 times per second).
    148151
    149152== Illustration ==