Add

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber Add( SalString sMessage )

The Add method outputs a user message in the IFS/Client runtime debug console. The text added will always be of type Const.CONS_User.

Parameters

Parameter Description
SalString sMessage Message to output. This is the text that will be displayed in the console.

Returns

This method does not return a value.

Comments

Use Var.Console.TextAdd to output messages of other types.

Example

Call Console.Add( 'Focus is now in object: ' ||
		  QualifiedItemNameGet( PalGetFocus() ) )
C# coding
Var.Console.Add("Input Item: " + sColumnName + ", " + sItemName + ", " + sDataType);