In FreePascal, I'm able to set up an array of records such as:
Var data : array[0..15] of record
Evidently, in MPL, the counting is not zero based, as it will only allow: Var data : array[1..15] of record
If I try using [0..15], I get 'Corrupted memory (216)' errors.
Anyone else notice this?
I made a simple test script and works fine. Can you post the part of the code that makes this error?
Hi All,
Just a quick question about MPL vs Pascal.
In FreePascal, I'm able to set up an array of records such as:
Var data : array[0..15] of record
Evidently, in MPL, the counting is not zero based, as it will only allow:
Var data : array[1..15] of record
If I try using [0..15], I get 'Corrupted memory (216)' errors.
Anyone else notice this?
Evidently, in MPL, the counting is not zero based, as it will only allow: Var data : array[1..15] of record
If I try using [0..15], I get 'Corrupted memory (216)' errors.
Anyone else notice this?
Var data : array[0..15] of record
Evidently, in MPL, the counting is not zero based, as it will only al
Yes, it doesn't work in MPL.
Var data : array[1..15] of record
If I try using [0..15], I get 'Corrupted memory (216)' errors.
Anyone else notice this?
yeah i don't know why he has it this way but for now the [1.. will have
to do.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 2 |
Nodes: | 8 (0 / 8) |
Uptime: | 110:56:37 |
Calls: | 2,124 |
Files: | 11,149 |
D/L today: |
37 files (21,434K bytes) |
Messages: | 950,840 |