[Top] [Prev] [Next] [Bottom] [Contents]

SaVbsLenZero

Prints a VB Script statement to check if the length of an argument is equal to zero and a newline character to standard out.

Synopsis

#include "savbs.h"
int SaVbsLenZero(char* msg);

Argument

msg
A string specifying a character or variable whose length is checked against zero.

Return Values

Returns an integer with a value of 0 if successful or 1 if msg is either NULL or empty.

Description

Prints a VB Script statement to check if the length of an argument is equal to zero and a newline character to standard out.

Example

The code fragment:

SaVbsLenZero("ch");
will write the following to the output stream:

If Len(ch) = 0 Then\n

See Also

SaVbsB, SaVbsCommE, SaVbsE, SaVbsEndIf, SaVbsFuncTrue, SaVbsFuncFalse, SaVbsMsgBox, SaVbsPrint, SaVbsIsLower, SaVbsIsUpper, SaVbsNotDigit, SaVbsLenNe, SaVbsStdFor, SaVbsCommB, SaVbsExitF, SaVbsEndF, SaVbsNext, SaVbsElse, SaVbsDecl, SaVbsNTabs, SaVbsNLines



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.