◄Up► ◄Contents► ◄Index► ◄Back► ─────PWB Extensions───────────────────────────────────────────────────────── Syntax: flagType BadArg( void ); Returns: Always returns FALSE. See: ◄Command Table► BadArg generates an error message stating that the user argument is invalid. This function is rarely used because PWB looks at the function type as declared in the command table and rejects commands with incompatible argument types before the extension function is called. You can use BadArg to signal a failed test for valid input that the function performs beyond the tests that PWB automatically performs for the argument type. For example, you can use BadArg to exclude numeric arguments that are out of range. -♦-