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

SaVbsStdFor

Prints a VB Script statement which produces a for loop and a newline character to standard out.

Synopsis

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

Argument

msg

A string specifying character or variable to set the upper index of the for loop.

Return Values

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

Description

Prints a VB Script statement which produces a for loop and a newline character to standard out.

Example

The code fragment:

SaVbsStdFor("num");
will write:

For I=0 TO num -1\n
to the output stream.

See Also

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



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

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