nchernoff
2008-06-06, 15:55
Plugin/Argument
So what does the plugin COMMAND see if the user issues:
COMMAND_NAME<space><space><space>parameter
Answer:
COMMAND_NAME<space><space><space>parameter
In most cases it will therefore be nessesary to trim spaces from string. In Ada the TakeCmd.Strings.To_Ada function will do that for you - if you like.
What does a plugin function see if the user issues:
@FUNCTION_NAME[<space><space>parameter<space><space>]
Answer:
@FUNCTION_NAME[<space><space>parameter<space><space>]
So what does the plugin COMMAND see if the user issues:
COMMAND_NAME<space><space><space>parameter
Answer:
COMMAND_NAME<space><space><space>parameter
In most cases it will therefore be nessesary to trim spaces from string. In Ada the TakeCmd.Strings.To_Ada function will do that for you - if you like.
What does a plugin function see if the user issues:
@FUNCTION_NAME[<space><space>parameter<space><space>]
Answer:
@FUNCTION_NAME[<space><space>parameter<space><space>]