Quote Originally Posted by User137 View Post
Weird, it compiles for me perfectly fine.
Lazarus throws it into delphi mode I believe, so it should compile. I can't wrap my head around RAD or visual programming, so I'm working from the command line... 30 years of programming including hand assembling my own machine language -- and I STILL can't grasp visual programming, the VCL, etc, etc... I could JUST barely understand OWL... VCL lost me...

Quote Originally Posted by User137 View Post
edit: Oops, actually it's giving RunError(103) when trying to run it. Stopping on the Writeln(
If you cut/paste from the FPC website, it will bomb on the single quotes as for some screwed up reason, their code block has STYLED quotes instead of straights.

I'm coming to the conclusion the HTML version of the documentation is ***** USELESS!