SRL Archive - OSR Help

TUser.Arrays


Bixby Sayz

2011-04-08 12:11:56

The TUser type has a property (not the correct terminology I know) Arrays of the type array of TVariantArray.

Anyone have an example of using this that works, say storing a TIntegerArray to Arrays[0]?

Dgby714

2011-04-08 12:26:31

Players[0].Arrays[0] := some TVariantArray;

Bixby Sayz

2011-04-08 12:44:42

Ugh. Was having a "senior moment" there. Thanks.

Sex

2011-04-09 08:58:29

Also, I think that was the correct terminology. It is a property.

Dgby714

2011-04-09 13:44:59

From: Sex
Also, I think that was the correct terminology. It is a property.


Actually, I believe they are called Fields.

Sex

2011-04-09 13:47:53

From: Dgby714
Actually, I believe they are called Fields.

Could be field. Anything that is in a class (Record is as close as PS can get to a class) that is not a Procedure/Function/Pointer I call a property. Else I call it a method :p.

Dgby714

2011-04-09 13:58:26

From: Sex
Could be field. Anything that is in a class (Record is as close as PS can get to a class) that is not a Procedure/Function/Pointer I call a property. Else I call it a method :p.


A record is a record, The elements of a record are called Fields.

There are classes in PS, You just can't have internal classes.

Sex

2011-04-09 14:07:45

Alright then. I think I can call it property and people would know what I mean :). That's just how I think of it. I meant that you can't have user classes so yeah.