Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
9 crawler(s) on-line.
 87 guest(s) on-line.
 1 member(s) on-line.


 kriz

You are an anonymous user.
Register Now!
 kriz:  1 min ago
 Gunnar:  6 mins ago
 naitly:  7 mins ago
 BigD:  36 mins ago
 VooDoo:  41 mins ago
 kiFla:  43 mins ago
 pixie:  51 mins ago
 rzookol:  1 hr 14 mins ago
 Frank:  1 hr 40 mins ago
 retrofaza:  1 hr 48 mins ago

/  Forum Index
   /  Amiga Development
      /  Pascal Users
Register To Post

Goto page ( 1 | 2 | 3 Next Page )
PosterThread
Trekiej 
Pascal Users
Posted on 8-Mar-2015 19:14:31
#1 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

Hello.
Are there any pascal programmers here?
If so, could you tell me the pros and cons of this language?
Thanks.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
Severin 
Re: Pascal Users
Posted on 8-Mar-2015 20:35:37
#2 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2740
From: Gloucestershire UK

@Trekiej

I tried it way back in the 80's when I had a sharpMZ series computer, it came with pascal, fortran, cobol, basic & asm.

pascal is (was) very good for writing code, you started of with basic commands you joined together in different ways to create new commands, you could write fairly complex programs easily. the big problem was reading your code if you came back to it after a while as at that time you couldn't see what your commands exactly did if you had forgotten.

It was ported to OS4 many years ago and hasn't been updated since the first release iirc.

Your choice of language really depends on what type of program you want to write.

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Pascal Users
Posted on 8-Mar-2015 20:57:41
#3 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12823
From: Norway

@Trekiej

Pascal programmers was good programing language, somewhat more advanced then basic, and less advanced then C.
Pascal is not so good at binary operations; it does not have shift rotation.
The Pascal does not have short version of A=A+1, or A=A*2, like C has.

C+=1;
C*=2;

Pascal does not have objects like C++ has.
With Pascal does have Procedure's (like C has functions).

Like C, Pascal uses the ";" symbol to say end of command / line.

Pascal need to type more, all code blocks starts with BEGIN and ends with END, similar to C all code blocks start with { and end's with }.

In C you need to use TAB, to organize the code or it can be hard to read, in Pascal it can be somewhat easier to read even if don't use TAB.

Pascal does not use makefile or build script like C, it more like using AMOS professional.

In Pascal you can inline Assembler code, like you can in C.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Trekiej 
Re: Pascal Users
Posted on 8-Mar-2015 22:18:12
#4 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

@NutsAboutAmiga
Thanks to both of you, I have Turbo Pascal for ms-dos.
I am not for sure where to go with this.
I am thinking of Interactive Fiction and Graphical Adventure.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 8-Mar-2015 22:54:25
#5 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Severin

Free Pascal IS updated and available on Amiga (68k, MorphOS and AROS not AmigaOS)

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 8-Mar-2015 22:55:43
#6 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Trekiej

there are threads about the AROS version on aros-exec.org and it is included in Aros Vision ("fp" from shell)

 Status: Offline
Profile     Report this post  
Severin 
Re: Pascal Users
Posted on 8-Mar-2015 22:59:41
#7 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2740
From: Gloucestershire UK

@OlafS25

Quote:

OlafS25 wrote:
@Severin

Free Pascal IS updated and available on Amiga (68k, MorphOS and AROS not AmigaOS)


Yeah, last update on os4depot was 20 Aug 06 so simply put AFAIC it is NOT updated

Last edited by Severin on 08-Mar-2015 at 11:01 PM.

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 8-Mar-2015 23:04:08
#8 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Severin

Yes I think because of not possible to support AmigaOS

On the other platforms it is updated

 Status: Offline
Profile     Report this post  
Trekiej 
Re: Pascal Users
Posted on 9-Mar-2015 1:52:49
#9 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

@OlafS25

Thanks for the info.
I guess I will have to keep researching this topic.
There seem to be as many programming languages as there are days int the year.
This applies to operating systems as well.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: Pascal Users
Posted on 9-Mar-2015 2:05:00
#10 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12823
From: Norway

@Trekiej

I think its waste of time to teach yourself Pascal these days, C offers more and allows you better control of the OS, while Pascal has it standard libraries and is kind of, limited by this.

Last edited by NutsAboutAmiga on 09-Mar-2015 at 02:38 AM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Trekiej 
Re: Pascal Users
Posted on 9-Mar-2015 4:50:28
#11 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

@NutsAboutAmiga

Uh, what can I say. I guess if I could make 2d and 3d games on arbitrary platform, I could be happy with it.
Has anyone used pascal on the c64 before? Do you think it is worth it.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
Nibunnoichi 
Re: Pascal Users
Posted on 9-Mar-2015 8:16:56
#12 ]
Cult Member
Joined: 18-Nov-2004
Posts: 969
From: Roma + Lecco, Italia

Of course you're comparing Pascal of the 80s the standard has made lots of progressing in later years, you also have Object Pascal, it's a modern language like the others.

_________________
Proud Amigan since 1987
Owner of various Commodore and a SAM440ep\OS4.1FE
See them on http://retro.furinkan.org/

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 9-Mar-2015 10:37:13
#13 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@NutsAboutAmiga

You are talking nonsense now

It is like all that OS related "xyz is better than xxx" talk

I do a lot of programming in real world and I am a fan of pascal

Freepascal IS updated for AROS, 68k and MorphOS and IS modern

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 9-Mar-2015 10:40:59
#14 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Trekiej

Try Free Pascal. It includes a lot of amiga includes. BTW best supported amiga language is Amiga-E. General it all depends what you want to do. If it is graphic related perhaps even Hollywood might be a option.

Most updated language offer similar features so it is a matter of taste. Some here seem to stick in the 90s and not in 2015.

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Pascal Users
Posted on 9-Mar-2015 10:49:26
#15 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

Oh boy, here we go again... Pascal, the language everyone has an opinion on and no clue about...

@NutsAboutAmiga
Quote:
Pascal programmers was good programing language, somewhat more advanced then basic, and less advanced then C.

Sorry for the wording, but this is plain bullshit. Pascal is in fact more advanced in a number of ways than C. For example, all recent Pascal dialects have syntax elements for Object Oriented programming, advanced string handling (even unicode, recently), standardized I/O library which supports many platforms, even threading support and more... Additionally, reading any semi-advanced Pascal syntax doesn't cause you eye cancer (Ever ___tried _to (* ____read) __C11 _code?) ...

Quote:
Pascal is not so good at binary operations; it does not have shift rotation.

Pascal has shl/shr, just like C has > > and < < operators. Here's a good summary about C vs. Pascal syntax elements.

_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Pascal Users
Posted on 9-Mar-2015 10:52:36
#16 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@NutsAboutAmiga
Quote:
I think its waste of time to teach yourself Pascal these days, C offers more and allows you better control of the OS, while Pascal has it standard libraries and is kind of, limited by this.

I find your ignorance slightly insulting. In fact, it's possible to create a Pascal header to *ANY* C library, and call freely. You can also static link against C libs and call all their functions. (OK, this static linking feature is still missing from Amiga flavors of FPC, because I was too lazy to write the required startup code... )

_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Pascal Users
Posted on 9-Mar-2015 10:54:43
#17 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@OlafS25
Quote:
BTW best supported amiga language is Amiga-E.

The guys working on the Amiga (68k) and AROS version of Free Pascal work hard to change that... BTW, I'd say the best supported language on Amiga is still C... Don't think about GCC, for example I find VBCC really excellent, and it has tons of Amiga-related features. (Lets be objective, shall we?)

_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 9-Mar-2015 10:57:26
#18 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Chain-Q

I thought of the modules (libraries supported), not language features

But we do not to discuss about it, as I said a matter of taste (and requirements of project). Most projects can be done with any language.

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Pascal Users
Posted on 9-Mar-2015 10:58:45
#19 ]
Elite Member
Joined: 12-May-2010
Posts: 6354
From: Unknown

@Chain-Q

BTW thanks a lot for updating Free Pascal for 68k, AROS and MorphOS

 Status: Offline
Profile     Report this post  
Chain-Q 
Re: Pascal Users
Posted on 9-Mar-2015 11:00:03
#20 ]
Cult Member
Joined: 31-Jan-2005
Posts: 824
From: Budapest, Hungary

@Severin
Quote:
Yeah, last update on os4depot was 20 Aug 06 so simply put AFAIC it is NOT updated

I stopped working on the AmigaOS4 flavor of Free Pascal, because there was no interest or feedback from the OS4 community. And because on the lower levels, AmigaOS4 is too alien to other Amiga systems. You have to put special support for it all over your source code (Hello-hello library interfaces, who said that useless crap was a good idea?), which the other three flavors don't need, and provide a separate syntax at places. And because of this, you also need to maintain a separate set of headers and utility libs for everything... I can't be arsed, really.

Anyway, if anyone volunteers to maintain the OS4 version of Free Pascal RTL (runtime-libraries) and the OS headers (the infrastructure is now there to do this separately from the rest of the Amiga-like OSes, which was missing in 2006), I can bring the OS4 compiler up to speed in about 1-2 days. Anyone interested - drop me a PM.

_________________
MorphOS, classic Amiga, demoscene, and stuff
"When a bridge is not enough, build a Viaduct!"
"Strip the Amiga community of speculation and we can fit every forum on a 720k floppy" (by resle)

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle