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

SaVbsPrint

Prints a line of VB Script and a character newline to standard out.

Synopsis

#include "savbs.h"
int SaVbsPrint(char* msg);\x7f 

Argument

msg
A string specifying the line of VB Script to print.

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 line of VB Script and a newline character to standard out. You must properly escape the " and \ characters when calling with a string literal (use \ to escape these).

Example

The code fragment:

SaVbsPrint("If ch1 <> ch2 Then");
will write the following to the output stream:

If ch1 <> ch2 Then\n

See Also

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



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

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