a_args and parameter string
Posted: 18 Oct 2021, 15:27
Re doc at: https://www.autohotkey.com/docs/Scripts.htm#cmd
The above states:
"Script Parameters: The string(s) you want to pass into the script, with each
separated from the next by a space. Any parameter that contains spaces should
be enclosed in quotation marks"
Specifically, the above doc statement says parameters are separated by "a space". That leads
me to infer that the occurrence of two spaces in a parameter string indicates
there is an "intervening" parameter which is a null or "".
Since THIS IS NOT THE CASE, I believe the documentation should read:
Script Parameters: The string(s) you want to pass into the script, with each
separated from the next by one or more spaces. Any parameter that contains
spaces should be enclosed in quotation marks
The above states:
"Script Parameters: The string(s) you want to pass into the script, with each
separated from the next by a space. Any parameter that contains spaces should
be enclosed in quotation marks"
Specifically, the above doc statement says parameters are separated by "a space". That leads
me to infer that the occurrence of two spaces in a parameter string indicates
there is an "intervening" parameter which is a null or "".
Since THIS IS NOT THE CASE, I believe the documentation should read:
Script Parameters: The string(s) you want to pass into the script, with each
separated from the next by one or more spaces. Any parameter that contains
spaces should be enclosed in quotation marks