UnderwareDESIGN

PlayBASIC => Resources => Source Codes => Topic started by: empty on February 14, 2006, 02:20:43 PM

Title: PBList
Post by: empty on February 14, 2006, 02:20:43 PM
this a little library that give you some list support (similar to TList/TStrings in Delphi... just not OOP).


Example source

[pbcode]

sl = NewStringList()

AddToStringList(sl, "How are you?")
InsertToStringList(sl, 0, "Hey, You!")

For i = 0 To GetListItemCount(sl) - 1
  Print GetStringListItem(sl, i)
Next i
DeleteList(sl)
Sync

WaitKey


[/pbcode]