I apologize for my english ..
Code: Select all
program test;
const
hs_idle = 1;
hs_run = 2;
{ Declarations section }
var
state: byte;
procedure test_proc();
begin
end;
begin
{ Main program }
case state of
hs_idle:
begin
test_proc();
end;
hs_run:
begin
test_proc();
end
end;
end.
Code: Select all
program test;
const
hs_idle = 1;
hs_run = 2;
{ Declarations section }
var
state: byte;
procedure test_proc();
begin
end;
begin
{ Main program }
case state of
hs_idle: begin
test_proc();
end;
hs_run: begin
test_proc();
end
end;
end.
Code: Select all
program test;
const
hs_idle = 1;
hs_run = 2;
{ Declarations section }
var
state: byte;
procedure test_proc();
begin
end;
begin
{ Main program }
case state of
hs_idle: //
begin
test_proc();
end;
hs_run: //
begin
test_proc();
end
end;
end.
Code: Select all
program test;
const
t: array [0..[b]6[/b]] of byte = (0,1,2,3);
begin
end.
Code: Select all
program test;
const
t: array [0..[b]7[/b]] of byte = (0,1,2,3);
begin
end.