Navigation:  thinBasic Modules > OS (Operating System) >

OS_CommandPresent

Previous pageReturn to chapter overviewNext page

 

Description

 

Check command line position for a specific command parameter. If found returns command parameter position

 

Syntax

 

cPosition = OS_CommandPresent(StringCommand)

 

Returns

 

Number.

Zero if not found

Not zero if found

 

Parameters

 

Name

Type

Optional

Meaning

StringCommand

String

No

Command string to check for

 

Remarks

 

Restrictions

 

See also

 

OS_GetCommand

 

Examples