[fpc-pascal] Hello, new Pascal programmer. had a question!
Liam Proven
lproven at gmail.com
Tue Aug 31 16:17:24 CEST 2021
On Tue, 31 Aug 2021 at 15:53, geneb <geneb at deltasoft.com> wrote:
>
> Liam, I think you're mixing the language with the framework.
>
> I'll be the first person to agree with you that doing a gui application in
> Delphi (and realistically, any RAD environment) can be intimidating if you
> don't know that you're looking at "event driven programming" vs
> "procedural programming" With a Delphi/VB/Etc GUI application,
> /everything/ (for the most part) is kicked off by an event of some kind.
> A mouse movement, button click, etc. This can be painfully confusing - it
> was for me when I started working with VB 3.0 when it was released (I'd
> skipped VB DOS & 2.0).
>
> You can easily write procedural programs in Delphi, but you have to create
> a "console" project first in order to do that. The same holds true for
> FPC, but FPC's default is console.
>
> For the OP, if they would like to use Lazarus, they just need to make sure
> that when they create a new project, that it's a console mode project.
>
> Make sense?
It does, but it's not really addressing the core problem here. There
certainly was an assumption in the Delphi era that you'd be building
event-driven GUI apps. Perfectly reasonable; that's what it was for.
For those of us who don't, though, docs that focus on doing that
aren't much help.
I am only really interested in FPC for one thing -- targeting Ultibo,
a bare-metal runtime for the Raspberry Pi. I'm interested in trying to
emulate some old hardware in bare-metal form on RasPis, and I have no
interest in learning GUI app development at all.
So whereas there may be guides, manuals and tutorials that might be
really good at explaining how to do object-oriented Pascal for GUI
purposes -- they aren't much help at all if you're not interested in
doing that.
--
Liam Proven – Profile: https://about.me/liamproven
Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
More information about the fpc-pascal
mailing list