DIM AT -- feature request
#1
PowerBasic has a very handy feature, the ability to dim at a certain address, for example suppose that you want to use a fixed-length string as a memory buffer
DIM buff As String * 256
DIM m(31) AS _Unsigned Long AT VARPTR(buff)

then you could access the array as usual but the values of the array m would be stored in the string buff
since QB64pe lacks arrays in Type, you could almost have that flexibility if you had Dim At
Reply


Messages In This Thread
DIM AT -- feature request - by Jack - 08-14-2023, 03:49 PM
RE: DIM AT -- feature request - by mnrvovrfc - 08-14-2023, 04:28 PM
RE: DIM AT -- feature request - by grymmjack - 08-15-2023, 12:15 AM



Users browsing this thread: 3 Guest(s)