Welcome, Guest. Please login or register.

Author Topic: Pascal Users  (Read 7589 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline EugeneNine

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 88
    • Show all replies
Re: Pascal Users
« on: September 08, 2016, 12:02:21 AM »
We learned on Borland Turbo Pascal my first trimerster in college.  I bought my SX-64 to class and was writing my programs in class on it.  

We later used Borland C in a later class.  By then I had an Amiga 500 and would run it under an IBM emulator and it was faster than the computers as school.

IIRC Pascal's purpose was to teach programming.

I dabble a little in others, once you get one they are all similar.

Pascal:

 
program Hello

begin   
      writeln 
('Hello, world.'
end.  
C:


#include<stdio.h> 
void main() 
{
     
printf("Hello World \n");
}
Fortran:

 
program hello
    
print *,'Hello World' 
end program hello  


I bounce between them too.
« Last Edit: September 08, 2016, 12:07:05 AM by EugeneNine »
 

Offline EugeneNine

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 88
    • Show all replies
Re: Pascal Users
« Reply #1 on: September 08, 2016, 12:12:33 PM »
Then there is Forth, Lisp, Python, etc :)
 

Offline EugeneNine

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 88
    • Show all replies
Re: Pascal Users
« Reply #2 on: September 08, 2016, 07:06:08 PM »
Not sure anymore.  I learned Pascal and C and was starting with others when I was in Electronic Engineering college.  Sold my Amiga and went PC for a while and worked in IT supporting PC's then when XP was a dud I moved to Linux and moved away from Windows and into ITSecurity.  Not that I have kids and they are getting older and into electronics and computers I'm trying to get back into both a bit more.  One of my old projects was using a 68k for the main cpu of a robot with a Pic microcontroller based neural network around it.    At the time I was using Parallax's PIC programmer which used their pseduo 8051 like assembly.  Been messing with arduino a little,bit not and starting to get back into PIC using MPLAX C for C and Assembly.  I was using A64 on the Amiga at the time so I could port my assembly over to to the 68k but the longer term goal was to use a higher level language there.
I've been trying to revive some of those old projects now and picked up an Amiga 2000 a while back but have to fix it.  I've set up my environment under FS-UAE hoping I can just copy over to the Amiga when I get it working.

Back then doing complex stuff in assembly was tedious I was hoping to use soem match functions from a higher language to load lookup tables into the PIC's for the complex stuff.
 

Offline EugeneNine

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 88
    • Show all replies
Re: Pascal Users
« Reply #3 on: September 09, 2016, 05:39:26 PM »
Quote from: trekiej;813637
Busy, Busy. :)
Yea, I get side tracked easy :)

What I was getting at is I'm not sure about LISP currently.  I got sidetracked after college and am just catching back up.

Anyway, it looks like FPC (Free Pascal) is available for classic Amiga (though a little older version) as well as AROS and Linux, etc.

Last time I messed with Pascal after college GNU pascal was the big project but it appears its not been maintained i a while with free pascal being the current popular.  They have their own IDE (Lazarus) as well if you like that style too.
 

Offline EugeneNine

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 88
    • Show all replies
Re: Pascal Users
« Reply #4 on: September 09, 2016, 06:08:06 PM »
I try to search out and stick with the popular cross platform packages.  I learned years ago after going from Amiga to PC (windows) that as PC software comes and goes your data gets stuck.  Everything ported fine from the Amiga but later on I had some stuff in Microsoft publisher or Microsoft Money or Visio and the next release changed the file format and dropped support of the previous version.  So I had to have two versions side by side to be able to open both new and old files.  As I learned more and more and learned about open source packages such as OpenOffice, etc and moved my data there.  Then i was able to move from Windows to Linux without worrying about my data as it was all still workable in the same software.  I try to do the same here, what packages will work on Amiga, AROS, Linux so I can copy data/code from one to the other without issue.