Method Message()


 

Syntax

:Message( cText, [cTitle] )

 

 

Parameters

 

cText

The Text of the message. Any special formatting should be handled by the developer.

 

cTitle

Text of the Page Title. If not passed, an empty page title will be displayed

 

Return

Number of Bytes written to the User.

 

Description

:Message() is a simple way to write a message back to the User. It is also a very good debugging tool.

There is no text formatting within the Method. The developer should handle any HTML formatting prior to sending the message back to the User.

 

The equivalent HTML code looks like:

 

<HTML>

    <HEAD>

           {Meta Variables if any}

        <TITLE>cTitle</TITLE>

    </HEAD>

    <BODY>

        cText

    </BODYy>

</HTML>

 

 

Once this Method is called, no further writing to the User should occur.

 

See Also:

:SetFile(), :Start(), :Redirect(), :SetMeta()

 



Contents