"numDigits";

Sets the number of digits that will be displayed.

Synopsis

setValue(string shape,"numDigits",int num);

getValue(string shape,"numDigits",int &num);

Sets the number of digits that will be displayed.

Parameter

Parameter Description
shape Name of the object
num The number of digits

Description

Sets the number of digits that will be displayed.

Example

The following example sets the number of digits to 4.

main(bool enter)
{
  int num = 4; 
  setValue("LCD1","numDigits",num);
}

Assignment

LCD number