Recent

Author Topic: FPC IDE  (Read 14810 times)

Daniel_Marvin

  • Newbie
  • Posts: 1
Re: FPC IDE
« Reply #15 on: September 19, 2018, 02:27:14 am »
I have experienced and everything quoted by "macrilllo" 2 years ago (just found this thread and may be ignored but felt like venting-I've moved to a new laptop and trying to get Pascal working in it and really frustrates me).  I have adapted over thew last couple years but is extremely annoying.  I've messed with both fp.ini or fpc.ini (both are present after the install) regardless how I've tried, I lose my screen setup and have given up so I just work with it. I also gave up long ago but don;t recall which version did it and "macrillo" might be correct that lockups in the IDE started with the 2.6 version. I will use the IDE to compile but never run from the IDE and have a CMD prompt in the same directory to execute complied programs. I am using Windows 10 and I DO NOT have a virus and I also get the exact same problems on multiple computers.  I also agree that it is frustrating when I search for solutions and keep running into Lazuras solutions when I clearly searched for "Free Pascal".

Regarding switching to a visual interface like Lazuras, while that might be where you want us to move to, teaching young learners how to program is best done with a structured text based language such as Pascal. Pascal was originally labeled the "Teaching Language" as it teaches great problem solving skills. I;ve also read articles that state older programmers who develop code over a lifetime using text based languages such as Pascal or C have a seriously large percentage lesser chance of getting dementia than those using BASIC, COBOL and visual languages. Pascal is healthier for you!

I taught a programming class with Turbo Pascal at a community college and was able to impress on my students great ways to solve problems using Pascal structures. I am currently writing code in Java which is also a text language and if careful, can also write well structured code but is by far not as elegant as Pascal.

It seems that although new versions of FPC keep coming out, documentation and/or support for the IDE is dwindling.

I did load Lazuras onto a machine at work and tried to read in one of my many Pascal programs and appears that I almost need to start over with my code.  Is that true?

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: FPC IDE
« Reply #16 on: September 19, 2018, 03:53:44 am »
I did load Lazuras onto a machine at work and tried to read in one of my many Pascal programs and appears that I almost need to start over with my code.  Is that true?

No, but Lazarus needs a project, and it will usually try to create as soon as you open a file with the magic words program MyProgram;* near the top. It, unfortunately, sometimes fails but the solution is relatively straightforward: Create (in Lazarus) a new project of type "Simple Program" and copy-paste your old code into it; then add its units--if any--as dependencies to the project.

* I mean, of course, a standard program header.

Quote
I;ve also read articles that state older programmers who develop code over a lifetime using text based languages such as Pascal or C have a seriously large percentage lesser chance of getting dementia than those using BASIC, COBOL and visual languages. Pascal is healthier for you!
[ citation needed:D
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: FPC IDE
« Reply #17 on: September 19, 2018, 06:48:34 am »
I have experienced and everything quoted by "macrilllo" 2 years ago (just found this thread and may be ignored but felt like venting-I've moved to a new laptop and trying to get Pascal working in it and really frustrates me).  I have adapted over thew last couple years but is extremely annoying.  I've messed with both fp.ini or fpc.ini (both are present after the install) regardless how I've tried, I lose my screen setup and have given up so I just work with it. I also gave up long ago but don;t recall which version did it and "macrillo" might be correct that lockups in the IDE started with the 2.6 version. I will use the IDE to compile but never run from the IDE and have a CMD prompt in the same directory to execute complied programs. I am using Windows 10 and I DO NOT have a virus and I also get the exact same problems on multiple computers.  I also agree that it is frustrating when I search for solutions and keep running into Lazuras solutions when I clearly searched for "Free Pascal".
Have you read?
https://www.freepascal.org/docs-html/user/user.html
https://www.freepascal.org/docs-html/user/userch6.html#x53-600006
http://wiki.freepascal.org/IDE
https://www.freepascal.org/download.var
https://www.freepascal.org/down/i386/win32.var
https://sourceforge.net/projects/freepascal/files/Win32/3.0.4
https://en.wikipedia.org/wiki/Turbo_Pascal

Quote
teaching young learners how to program is best done with a structured text based language such as Pascal. Pascal was originally labeled the "Teaching Language" as it teaches great problem solving skills.
This was true when I was a teenager. I auto-learned MSX Basic when I was 13 or 14yo using the 8bit multimedia computer manuals and nerd magazines. Then I learned Borland Turbo Pascal 3 in technical high school when I was 17 or 18yo.
Today, many schools and initiatives use HTML5, CSS3 and JavaScript to teach programming for kids, because young people want to see things working on mobile or, at least, on a browser.

Quote
I taught a programming class with Turbo Pascal at a community college and was able to impress on my students great ways to solve problems using Pascal structures. I am currently writing code in Java which is also a text language and if careful, can also write well structured code but is by far not as elegant as Pascal.
Correct me if I am wrong, but I believe that fp IDE (fp.exe) is the closest Free Pascal editor similar to old (27th October 1992) Borland Turbo Pascal 7.0.
« Last Edit: September 19, 2018, 06:48:02 pm by valdir.marcos »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: FPC IDE
« Reply #18 on: September 19, 2018, 09:47:39 am »
I;ve also read articles that state older programmers who develop code over a lifetime using text based languages such as Pascal or C have a seriously large percentage lesser chance of getting dementia than those using BASIC, COBOL and visual languages.
Total nonsense. The article was from one of the "alternative fact" sources or then you make this up yourself.
BASIC and COBOL are text based languages just like Pascal and C.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018