Labels

From SysCAD Documentation
Jump to navigation Jump to search

Navigation: PGMs

PGM Syntax Data Types Declaring Variables Predefined Variables Labels


PageLabel

PageLabel(string)

This function is used to create a new access window tab page with the specified string.

For Example:

PageLabel("Water")

This will create a tab page with name "Water". (see example below)

Hint: Do not use a long name for a the Page Label, as this is displayed on the Access Tab.


TextLabel

TextLabel( string [ , string])

This function is used to create text description lines on the access window.

  1. For a single comment:TextLabel("Enter the feed options:")
  2. For a blank line: TextLabel().
  3. To insert a text label with a blank line before the label, specify a comma before the label: TextLabel(, "Water Flows In").
  4. You can specify multiple lines with comma (,) separator: TextLabel("Alumina", "Area 5").

Do not use a tab in the string, it will be replaced with a single space.

Labels Example

This code will show the following Access Window view:

PageLabel("Water")
TextLabel(, "Water Balance")
Real   TotalIn@("Qm","t/h"), TotalOut@("Qm","t/h"),  TotalWaterError@("Qm","t/h")

TextLabel(, "Water Flows In")
Real   MineBrine@("Qm","t/h"), BrineInOre@("Qm","t/h"), GuarWater@("Qm","t/h")

PGM Label.jpg