Log in

View Full Version : Delphi, Pascal and SCAR



Shuttleu
06-02-2009, 06:59 AM
i had a look at some Delphi code and it looked exactly the same as the syntax that is used in SCAR
but i thought that SCAR used Pascal
is the syntax of Pascal and Delphi the same or not
if they aren't then which one does SCAR use?

~shut

Awkwardsaw
06-02-2009, 07:05 AM
delphi is written in pascal.

the actual scar made in delphi.

and scar uses pascal.

:)

i think i got that right... :P

NiCbaZ
06-02-2009, 07:12 AM
i'm 90% sure delphi was NOT made with pascal. but scar and delphi both use pascal syntax.

senrath
06-02-2009, 07:24 AM
i'm 90% sure delphi was NOT made with pascal. but scar and delphi both use pascal syntax.

I guess you can sorta say it is. Delphi is based off of Pascal.

Wizzup?
06-02-2009, 07:25 AM
i had a look at some Delphi code and it looked exactly the same as the syntax that is used in SCAR
but i thought that SCAR used Pascal
is the syntax of Pascal and Delphi the same or not
if they aren't then which one does SCAR use?

~shut

SCAR uses Pascal Script, an Interpreter that has it's own Pascal Dialect.
Delphi is Pascal with Objects added.
SCAR is written in Delphi.

Shuttleu
06-02-2009, 02:23 PM
ahhh... ok
its just that the syntax looked exactly the same
and it confuzzled me

~shut

Daniel
06-02-2009, 06:20 PM
Basically it is the same, as Delphi (originally named Object Pascal) was Borlands version of an "updated" pascal.

Richard
06-02-2009, 08:54 PM
Its the same as a lot of the OOPs having similar syntax, C, C#, C++, Java...

mastaraymond
06-02-2009, 10:51 PM
One word -> Hoi.

Shuttleu
06-04-2009, 02:05 AM
so if i know how to script in scar then i basically know Delphi?

~shut

nielsie95
06-04-2009, 04:37 AM
It's more like the other way around. If you know how to code in Delphi, you know how to script in SCAR. SCAR has a lot of limits compared to Delphi..

Nava2
06-07-2009, 10:14 PM
It's more like the other way around. If you know how to code in Delphi, you know how to script in SCAR. SCAR has a lot of limits compared to Delphi..

Might have something todo with the compiler..