clExec  clGetArgv

Chapter 2: Bridged Functions

clGetArgc

Description

Determines how many arguments are used on the command line that launches the application. Similar to the C-based argc parameter for the C main function.

Syntax

int clGetArgc();

Return value

Integer.

Returns the number of command line arguments.

Examples

Example 5

int max;
max = clGetArgc();




Copyright © 2005. Sybase Inc. All rights reserved. clGetArgv

View this book as PDF