feature_gotoxy can be used to determine if the current platform supports the built-in procedure gotoxy.
if not supported(feature_gotoxy) then
begin
writeln('gotoxy not supported on the current platform');
abort
end;
Operating Systems: All
Standard Pascal: No