Posted: Sat Jun 01, 2002 11:15 am
Restored from previous forum. Originally posted by Joe Hurst.
Here are some other needs I would like to see in Purebasic:
More variable-types:
--------------------
Char 0 .. 255 (1 byte, as like as in Pascal, alphanumeric)
UByte 0 .. 255 (1 byte, numeric)
UWord 0 .. 65535 (2 bytes)
Null-terminated strings as in C (Is a normal string-type of Pb able to handle #0 in it?)
Structures with UNION/PACKED-keyword (important for API-calls of Windows)
More Commands:
--------------
a$=Peek$(adress,length) - read from adress length bytes
Poke$(adress,length,a$) - vice versa
a$=Char{adress} - read from adress until a null-char is reached
Any comments?
Bye, Joe
Here are some other needs I would like to see in Purebasic:
More variable-types:
--------------------
Char 0 .. 255 (1 byte, as like as in Pascal, alphanumeric)
UByte 0 .. 255 (1 byte, numeric)
UWord 0 .. 65535 (2 bytes)
Null-terminated strings as in C (Is a normal string-type of Pb able to handle #0 in it?)
Structures with UNION/PACKED-keyword (important for API-calls of Windows)
More Commands:
--------------
a$=Peek$(adress,length) - read from adress length bytes
Poke$(adress,length,a$) - vice versa
a$=Char{adress} - read from adress until a null-char is reached
Any comments?
Bye, Joe