This code is weirded lazarus / 8-Other ---------------------------------------------------------------------- jiaxing2 · 2020-05-15 13:38 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i program hello(input, output);  {input & output parameters needed for iso pascal}begin        writeln('hello world');        writeln('press enter to exit program'); {this might or might not be needed}        readln;end. How to compile it? ---------------------------------------------------------------------- PascalDragon · 2020-05-15 13:46 Quote from: jiaxing2 on May 15, 2020, 03:38:06 pmHow to compile it? Simply compile it. The identifiers after the program name are the input and output file names. FPC in any non-ISO mode simply ignores them, but in ISO Pascal (and Extended ISO Pascal) you can use them to have the user pass file names as parameters which are then automatically assigned to these variables. For example: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i program hello(input, output, test); {$mode iso} var  test: TextFile;begin  rewrite(test);  writeln(test, 'hello world');  close(test);end. You then call it like this: Code: [Select]PS E:\fpc\git> fpc -FEtestoutput .\fpctests\ttest.pp Free Pascal Compiler version 3.0.4 [2019/10/27] for i386 Copyright (c) 1993-2017 by Florian Klaempfl and others Target OS: Win32 for i386 Compiling .\fpctests\ttest.pp Linking testoutput\ttest.exe 11 lines compiled, 0.1 sec, 26688 bytes code, 1300 bytes data PS E:\fpc\git> .\testoutput\ttest.exe hello.txt PS E:\fpc\git> type hello.txt hello world ---------------------------------------------------------------------- jiaxing2 · 2020-05-15 17:01 It seemed I think too much before actually doing anything. It turned out to be actually a waste of my own time waiting for answer