Recent

Author Topic: I created a Hello World project using Free Pascal  (Read 1115 times)

ikel

  • New Member
  • *
  • Posts: 40
I created a Hello World project using Free Pascal
« on: June 13, 2025, 01:40:05 pm »
Hi,

I created a Hello World project using Free Pascal.

https://github.com/ikelaiah/fp-hello-world

It is a simple module and can be used as a starting point for any Hello World project.

-ikel

paweld

  • Hero Member
  • *****
  • Posts: 1434
Best regards / Pozdrawiam
paweld

ikel

  • New Member
  • *
  • Posts: 40
Re: I created a Hello World project using Free Pascal
« Reply #2 on: June 14, 2025, 01:28:23 am »
Thanks, @paweld.
Sorry about the the double posting.

-ikel

Thaddy

  • Hero Member
  • *****
  • Posts: 17396
  • Ceterum censeo Trump esse delendam
Re: I created a Hello World project using Free Pascal
« Reply #3 on: June 14, 2025, 02:04:24 pm »
Now integrate the two ;)
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

Weiss

  • Full Member
  • ***
  • Posts: 215
Re: I created a Hello World project using Free Pascal
« Reply #4 on: June 20, 2025, 05:25:28 pm »
real fun starts with user input.

ccrause

  • Hero Member
  • *****
  • Posts: 1029
Re: I created a Hello World project using Free Pascal
« Reply #5 on: June 21, 2025, 08:29:33 am »
A more complete entry for Program won't print "Hello, World!", amended for the corporate world:
  • Report issue to legal department
  • Report issue to manager
  • Report issue to IT department
  • Apply for overtime compensation
  • Wait for IT front line support to contact you
  • Explain to IT that yes, your PC is plugged in and running
  • Explain to IT that it is not necessary to reinstall the OS
  • Explain to IT that you don't need .NET (and hence don't need to upgrade .NET)
  • Go grab a cup of coffee, mention this to a colleague in the kitchen
  • Colleague then mention changes in the domain policy that blocks compilation and execution of unsigned code
  • Explain possible cause to IT
  • IT explains that they can do nothing about the domain policy
  • Random other colleague mentions you have to apply for special admin rights to work around the security policy
  • Apply for said admin rights
  • Manager needs a motivation for why you require admin rights before approving the request
  • You motivate this by explaining the virtue of the Pascal language and the potential improvement in your performance if you can unlock this tool
  • IP contacts you to sign away your IP rights to any work product you may generate with this fancy new tool called "FPC"
  • After some tie passes everything lines up and you manage to run Hello World!
  • Manager is impressed with the emoji:text ratio of the output and asks you to give a demonstration to senior management
  • You try to demo Hello World but it gets blocked by virus scanner...

cdbc

  • Hero Member
  • *****
  • Posts: 2249
    • http://www.cdbc.dk
Re: I created a Hello World project using Free Pascal
« Reply #6 on: June 21, 2025, 09:38:28 am »
 ;D :D  Hahaha  :D ;D
-- Good One -- Christo
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

LV

  • Sr. Member
  • ****
  • Posts: 303
Re: I created a Hello World project using Free Pascal
« Reply #7 on: June 21, 2025, 11:50:16 am »
@ccrause, thanks for the valuable tutorial. I couldn't resist trying to implement it (see attached project).  ;)

 

TinyPortal © 2005-2018