dynamic arrays

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by talun.

Hi, I'm intersted to know if is possible to simulate dynamic arrays in PureBASIC (maybe with the List?).
Thank you
Sergio Tallone
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kale.

yep use LinkedLists for a dynamic way of storing ordered lists of data. you can also create linkedlists using structures.

Code: Select all

Structure simpleStructure
   one.s
   two.s
   three.s
EndStructure
NewList structuredList.simpleStructure()
--Kale

New to PureBasic and falling in Love! :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by talun.

Kale, many thanks you for your reply.
Sergio
Post Reply