| Open modes | ||
| Bit | 0 Unset | 1 Set |
| 0 | Read Only (default) | Read and Write |
| 4 | File Mode (default) | Buffer Mode |
while (@mixed) {
($type_n, @mixed_n) = splice(@mixed, 0, shift(@mixed));
<do something with $type_n and @mixed_n>
}
| $type | type | status | byte size (file) |
| 0x00 | empty | ok | 0 |
| 0x01 | null | ok | 0 |
| 0x02 | i2 (word) | ok | 2 |
| 0x03 | i4 (long) | ok | 4 |
| 0x04 | r4 (real) | ok | 4 |
| 0x05 | r8 (double) | ok | 8 |
| 0x06 | cy | not available | |
| 0x07 | date | not available | |
| 0x08 | bstr | not available | |
| 0x0a | error | ok | 4 |
| 0x0b | bool | ok | 4 |
| 0x0c | variant | ok | 4+sizeof($type) |
| 0x11 | ui1 (uchar) | ok | 1 |
| 0x12 | ui2 (uword) | ok | 2 |
| 0x13 | ui4 (ulong) | ok | 4 |
| 0x14 | i8 | not available | |
| 0x15 | ui8 | not available | |
| 0x1e | lpstr (string) | ok | 5+length($str) |
| 0x1f | lpwstr | not available | |
| 0x40 | filetime | ok | 8 |
| 0x41 | blob | not available | |
| 0x42 | stream | not available | |
| 0x43 | storage | not available | |
| 0x44 | streamed_object | not available | |
| 0x45 | stored_object | not available | |
| 0x46 | blobobject | not available | |
| 0x48 | clsid | not available | |
| 0x49 | cf | not available | |
| 0x1000 | vector | ok |
| $type | type |
| 1 | Big blocks |
| 2 | Small blocks |
| 4 | File end space |
| 8 | System space |
Back to Laola Homepage.