(For history, see posts 2935, 2936 and 2979)
Essentially what I'm trying to do is creating a ranking system where users gain a higher rank when completing certain criteria such as being a member the server for a certain amount of time, etc.
I'm trying to do this using a MPL script and records.112, but there's a slight error at hand; no matter what I do I just can't get the damned thin to compile.
The compiler keeps screaming at this part:
-----
Type
UserPasswordRecord = Array[1..101] of Byte;
RecUser = Record
PermIdx :LongInt;
Flags : LongInt;
Password : UserPasswordRecord;
{ more records here}
End;
-----
For some reason it accepts only records as types, preventing me from using UserPasswordRecord.
I've looked at how the other scripts were made and they all followed this rule except for records.112, from which I pasted the above part.
Does anyone know why this happens?
PS. I'm aware that UserPasswordRecord most likely wont be used in this particular script, but I want to know *why* this happens, as I might need UserPasswordRecord in another script of mine, and then I want to be able t it.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 132:29:32 |
Calls: | 2,073 |
Files: | 11,136 |
Messages: | 947,552 |