Dare I say that I have another wish? YES!
I think it would be of great benifit to PB programmers if a new data types called CHAR were added to the already extensive collection. The CHAR data type should accept data assignment from either numerical and string. For example...
I also think some sort of "type-casting" would be very usefull...
Oh! I almost forgot. I would also like to see VOID pointers. I know this can be done with LONG's right now but I think it would be much clearer with VOID PTR.
------------------
Cheers
[This message has been edited by mark smit (edited January 30, 2001).]
I think it would be of great benifit to PB programmers if a new data types called CHAR were added to the already extensive collection. The CHAR data type should accept data assignment from either numerical and string. For example...
Code:
dim buff as char * 2048 dim bptr as char ptr buff = "mark has silly wishes" buff = 0,1,2,3,4,5,6,7,8...255 or bptr = HeapAlloc(etc...) @bptr = "PowerBasic" @bptr[0] = 1 @bptr[1] = 2 @bptr[2] = 3 @bptr = 0,1,2,3,4,5,6,7,8...255
Oh! I almost forgot. I would also like to see VOID pointers. I know this can be done with LONG's right now but I think it would be much clearer with VOID PTR.
------------------
Cheers
[This message has been edited by mark smit (edited January 30, 2001).]
Comment