SRL Archive - Help and Support

SCAR Operator Overloading


Jackrawl

2008-06-06 23:59:54

Probably not possible without classes, but maybe?

Markus

2008-06-07 01:04:52

Not possible afaik.

mastaraymond

2008-06-07 05:50:05

lol, not possible.

To help you out of your dream, scar is a "procedure-language". With just the ability to have records xD.

n3ss3s

2008-06-07 09:35:47

You can overload a ', use '' to get a ' in a string… Don't think if that counts as an operator though.

Markus

2008-06-07 10:57:55

Overloading is actually having a function/procedure which allows multiple parameters, like
procedure OpenBank(location : string); overload;
procedure OpenBank(location : integer; openit : boolean; someotherstuff : string); overload;

mastaraymond

2008-06-07 13:46:06

From: Markus
Overloading is actually having a function/procedure which allows multiple parameters, like
procedure OpenBank(location : string); overload;
procedure OpenBank(location : integer; openit : boolean; someotherstuff : string); overload;

Type overloading? Like c++ has. xD

Bobarkinator

2008-06-07 14:30:34

From: mastaraymond
Type overloading? Like c++ has. xD


And also pretty much all c++ derived languages.

R0b0t1

2008-06-10 15:40:28

I know Delphi can do it, not sure about SCAR.