📄 pastate.pas
字号:
{This program file may be used with Object
Pascal code generated from the state diagram del1sta.omt.
Run the script delsta1.sct to create the file
Controll.pas. Then compile
the following generated unit files:
Controll.pas and pastate.pas.
}
Program Pastater;
uses Controll;
Var
Controller : controller1;
begin
controller1.process (turnOn);
WriteLn ('The controller is turned on');
controller1.process (turnOff);
WriteLn ('The controller is turned off');
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -