Skip to content
Snippets Groups Projects
Select Git revision
  • f04aaf315ba00a59c68eb967d780f2d7dae338be
  • master default protected
  • dev
  • sybilNLO
  • gprBug
  • maximumtotalflux
  • easyConstraint
  • switchbug
  • thuong
  • momafix
  • rmReactBug
11 results

modelorgClass.R

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    button.mch 344 B
    MACHINE button
    DEFINITIONS "LibraryMeta.def"
    VARIABLES
      button
    INVARIANT
      button:BOOL
    INITIALISATION
      button := FALSE
    OPERATIONS
      press_button = PRE button=FALSE THEN
        button:=TRUE
      END;
      toggle_button = BEGIN
        button:= bool(button=FALSE)
      END;
      set_button(newVal) = PRE newVal:BOOL THEN
         button := bool(newVal=TRUE)
      END
    END