A more easy way to nest lists

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
TheAutomator
Enthusiast
Enthusiast
Posts: 112
Joined: Tue Dec 01, 2020 8:33 pm

A more easy way to nest lists

Post by TheAutomator »

A more easy way to nest lists / arrays, this is basic stuff in other languages.
Needed to make a whole post a bout it and learn pointers and make my own bunch of functions, ask a lot of info
on how to make those too...

In lua you just do {{},{},{{}}} and it works,
VB, vbscript, autoit: Array(Array(1,2,3), array(1,2))..

at least an option to do "NestList" and "GetList" or anything like that would be handy.