When I click "compile," I briefly see a status bar appear in "scripts status." The status bar disappears, and the status window returns to its empty state. When I click "run," the same thing happens. There is no prompt. There is no output. The script I'm trying is from the documentation:
Code: Select all
Output.Clear;
WebPage = Input('Source Viewer', 'Enter a URL to view...', 'http://');
if WebPage = nothing then Terminate;
Link = New(URL);
if not Link.Get(WebPage) then begin
Display('Error', Link.ErrorText, IconStop);
Terminate;
end;
if Link.ServerCode >= 400 then begin
Display('Error', Link.ServerText, IconStop);
Terminate;
end;
Output(Link.Data);