Free Pascal

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

Free Pascal

#1 Post by rufwoof »

https://www.freepascal.org/download.html works for me under FatDog 8.2

In the IDE developement environment (run 'fp' in a terminal) I created a hello world program, but compiling/running that failed. Reading around it indicated under linux it uses the external ld program, so loading the fatdog devx and then compiling/running again and it worked.

Image
(clickable thumbnail)

...retro Turbo Pascal days :)
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

ncurses based fireworks.pas (and fireworks executable as compiled under Fatdog 8.2)
Attachments
fireworks.pas.gz
gzip -d fireworks.pas.gz (pascal fireworks.pas source code)
(931 Bytes) Downloaded 577 times
fireworks.gz
gzip -d fireworks.gz;chmod +x fireworks;./fireworks
(127.85 KiB) Downloaded 483 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#3 Post by rufwoof »

Copying fp to hdd (to preserve), and rebooting (to remove all of the installed files) ... and after rebooting fp runs standalone. That's quite a nice editor to have around even for just editing text as its windows and cut/paste etc are more intuitive/easier IMO than mcedit. Too big to attach here though.

It also has a calculator, and you can drag/drop (move) it around using the mouse (along with using the mouse to click the menu options etc.).
Attachments
fp-editor.png
(35.56 KiB) Downloaded 718 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hi rufwoof.

Is Pascal, Free or otherwise, used at all nowadays for programming significant apps?
Or is it now just a learning tool?

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#5 Post by rufwoof »

musher0 wrote:Hi rufwoof.

Is Pascal, Free or otherwise, used at all nowadays for programming significant apps?
Or is it now just a learning tool?

BFN.
Some seemingly still use it, more a case for early stage programming education afaict though.

For me, its potential is as a better alternative to using mcedit, i.e. just the IDE, and then only using that for text files. Mouse control, drop down menus, easy copy/paste, multi-windows (including dragging them around) ...etc.

Image
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

#6 Post by Moose On The Loose »

musher0 wrote:Hi rufwoof.

Is Pascal, Free or otherwise, used at all nowadays for programming significant apps?
Or is it now just a learning tool?

BFN.
I still use if from time to time.
It works well on Puppy-528 (a 32 bit system).
It is great for doing OO programming where you want safety.
It is easier to do a large project in it than in C++ for example.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

Thanks for your answers, guys.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply