message class : message(bool) fitter

Description

Returns a new instance of message class.

Syntax

new message(bool clip)

Arguments

ClassNameDescription
boolclipA value that indicates whether to copy the message to the clipboard.

Return value

ClassDescription
messageA new instance of message class.

Sample code

1:

message instance = new message(true); // It clips message.

2:

message instance2 = new message(false); // It does not clip message.

Notes

First argument.

Specifies true, the displayed message is saved in the clipboard. Specifies false, nothing happens.

Instances of the message class save messages to the clipboard by default.

Links for reference

None.

Copyright © Cooker All rights reserved.