Procedure Message displays a floating message palette onscreen. Parameters z1 thru zN specify the values to be displayed in the palette. Parameters can be any supported data type or variables.
If Message is called and the palette is already displayed, the value in the palette will be replaced by the new information.
PROCEDURE Message(z : ANY);def vs.Message(z):
return None| Name | Type | Description |
|---|---|---|
| z | ANY |
Message('Hello, world');
Message('The Number of objects was :',theNumber);
{displays a string using the variable value} SetTextVerticalAlign(ObjectHand,3);
ResetObject(ObjectHand);
CreateSeatLayoutObj := ObjectHand;
END
ELSE Message(GetPluginString(3015), ' [', Poly_H, ']');
END;
9: MonthStartDay:= 243;
10: MonthStartDay:= 273;
11: MonthStartDay:= 304;
12: MonthStartDay:= 334;
OTHERWISE Message(kBadValue);
END;
Message(GetPlugInString(3013));
SetCursor(lgCrossC);
GetPt(x, y);
SetCursor(arrowC);
ClrMessage;vs.Message( msg )
if vs.GetTypeN(h) == 94:
vs.NameClass(className)
else:
vs.Message( vs.GetResourceString(11000, 10), className, vs.GetResourceString(11000, 11) )
#Cannot create class; an object of that name already exists.}See also in tutorials: 01. Draw a Room with Walls, 02. Draw 2D Geometry Primitives, 03. Build a Curved Path with Mixed Vertex Types, 04. Extrude 2D Shapes into 3D Solids
Availability: from All Versions