Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

RunTask.GetArgumentCount

Returns the number of arguments.

Component Version macOS Windows Linux Server iOS SDK
RunTask 3.1 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No

Deprecated

This function was deprecated. Use Shell functions instead.

MBS( "RunTask.GetArgumentCount" )

Parameters

none

Result

Returns the number of arguments or error message.

Description

Returns the number of arguments.
One Windows all arguments are stored in one string with spaces separated, so this function returns 0 or 1 depending on whether an argument is set.

See also

This function is free to use.

Created 18th August 2014, last changed 13th June 2020


RunTask.GetArgument - RunTask.GetCurrentDirectoryPath

💬 Ask a question or report a problem