EqualityComparator

Constructor

EqualityComparator <id> (double left, double right)

Or, within an expression:

<process_id|number> == <process_id|number>

Action

Checks for equality between left and right values each time one of it is updated.

Predefined children

  • DoubleProperty: left, right.
  • BoolProperty: result.

Example


use core
use base
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 500, 500)
  Bool test (1)
  f.width == f.height => test
  TextPrinter log
  test => log.input
}

run root
run syshook