Skip to content
Snippets Groups Projects
Select Git revision
  • 7c2c08184fc40413c039b7b773cdb7cde8a18568
  • master default protected
2 results

Plotting.py

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