Hello i was converting my code from VCL/GDI to CONSOLE/SDL and i found a unusual problem,

i have 2 procedures that calls the other one and this one call who called it, it looks some kind of circle but the procedure down can call procedure that is up but that ones can't call the one it's down :?

looks like

[pascal]
uses

var

procedure x;
begin
if something then
y(); // error here
end;

procedure y;
begin
if something then
x();
end;

begin
end.[/pascal]

how solve ?

*Sorry my english :?

PS: thx for unlok it will