just want to compile and run its codes using fpc. What's your recommendation to use the environment efficiently? Please send me a hello world template to compile standard pascal, it seems by default it only compiles FreePascal source codes.
https://www.freepascal.org/docs-html/user/userse33.html
You can quite compile FPC applications (i.e. without using LCL) in lazarus IDE, which is what I recommend
You can can start with simple onsole mode apps: https://wiki.freepascal.org/Console_Mode_Pascal
It's easier to start with geany and fpc
worth noting is that FPC has modes. and old pascal books were notably written for different dialects. while turbo pascal was popular, a lot were written with "standard" pascal or apple pascal in mind.
Обсуждают сегодня