Vulcan Logic SRM  

SRM - Documentation


^ SRM Documentation
^ Function Argument Handling

- SRM_ARGC
- SRM_ARGC_CHECK
- SRM_ARGC_CHECK_BETWEEN
- SRM_GET_ARG

SRM_ARGC_CHECK

SRM_ARGC_CHECK --  This macro check for a fixed number of arguments passed to the function.

Description

int SRM_ARGC_CHECK (int nr)

Use this macro to ensure that the correct number of parameters were passed to the SRM function. It will return imediately if the number of parameters is not correct with the error "Incorrect number of arguments", or it will return with the error "No arguments given" if there was no single parameter passed to this function.

See also: SRM_ARGC() and SRM_ARGC_CHECK_BETWEEN()

Prev: SRM_ARGC Next: SRM_ARGC_CHECK_BETWEEN


© 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by The Vulcan Logic Group