Skip to content
Powerbuilder list and vector extensions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pb_src
.gitignore
List.cpp version 0.4.2 : replaced the insert() methods by inserthere() due to … Mar 26, 2015
List.h version 0.4.2 : replaced the insert() methods by inserthere() due to … Mar 26, 2015
Main.cpp
Main.h version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniList.rc version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniList.sln Fixed the PB12 settings and added PB12.5 and PB12.6 settings Jan 25, 2017
PbniList.vcproj version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniList.vcproj.CONCEPTWARE.sebastien.user
PbniList100.pbx
PbniList105.pbx
PbniList110.pbx ensure to publish the latest binaries after a weird push failure Jan 25, 2017
PbniList115.pbx
PbniList120.pbx
PbniList125.pbx version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniList126.pbx ensure to publish the latest binaries after a weird push failure Jan 25, 2017
PbniList90.pbx ensure to publish the latest binaries after a weird push failure Jan 25, 2017
PbniRegex100.pbx version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniRegex105.pbx version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
PbniRegex115.pbx
PbniRegex120.pbx Added PB12 version Jul 4, 2011
PbniRegex125.pbx
PbniRegex90.pbx
ReadMe.md version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
Vector.cpp
Vector.h version 0.4.2 : replaced the insert() methods by inserthere() due to … Mar 26, 2015
bench.xls - refactored the list implementation PbniList -> List Feb 12, 2010
distfiles.lst version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
history_pbnilist.txt version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
license.txt
list.ico Backported to PB9, 10, 10.5 Jun 28, 2011
listdemo100.exe
listdemo100.pbl version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo100.pbt Backported to PB9, 10, 10.5 Jun 28, 2011
listdemo105.exe version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo105.pbl version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo105.pbt Backported to PB9, 10, 10.5 Jun 28, 2011
listdemo115.exe version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo115.pbd
listdemo115.pbl version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo115.pbt version 0.4.2 : replaced the insert() methods by inserthere() due to … Mar 26, 2015
listdemo115.usr.opt
listdemo120.exe
listdemo120.pbl
listdemo120.pbt
listdemo125.exe
listdemo125.pbl
listdemo125.pbt
listdemo90.exe version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo90.pbl version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
listdemo90.pbt
makedistzip.bat added a added a script to make the distribution zip + cleaned some files Jul 3, 2011
pbnilist100.pbd ensure to publish the latest binaries after a weird push failure Jan 25, 2017
pbnilist105.pbd
pbnilist110.pbd
pbnilist115.pbd ensure to publish the latest binaries after a weird push failure Jan 25, 2017
pbnilist120.pbd Added PB12 version Jul 4, 2011
pbnilist125.pbd
pbnilist126.pbd
pbnilist90.pbd
pbniregex100.pbd
pbniregex105.pbd version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
pbniregex115.pbd version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
pbniregex120.pbd
pbniregex125.pbd version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
pbniregex90.pbd
pbx2pbd90.bat Refactored for future backports Jun 28, 2011
todo.txt ajout TODO.txt Aug 5, 2010
worksp100.pbw
worksp105.pbw
worksp115.pbw Refactored for future backports Jun 28, 2011
worksp120.pbw
worksp125.pbw version for PB125, added n_tooltip.of_removealltools() Apr 10, 2017
worksp90.pbw Backported to PB9, 10, 10.5 Jun 28, 2011

ReadMe.md

PbniList - uo_list and uo_vector

PbniList is a Powerbuilder PBNI extension that wraps the C++ STL to provide a (linked) list and a vector implementation to PB.

Both list and vector have a built-in iterator for easy crawling and both allow addition of items at the begining, end or at any position.

You can also sort the list and vector by providing a comparator object to the sort() method. The given method is called at the object, its prototype must be function integer name_of_method (any a, any b). The method must return -1, 0 or 1 depending on the comparison of the given values.

This is free code, released under the MIT license with the hope that it could be useful to someone else. There is absolutely NO WARRANTY. Please read the license.txt for details.

Remarks, comments, questions and bug reports are welcome : drop me a message at sebastien.kirche@free.fr

Please also drop me a note if you use that extension.

How to configure Visual Studio to debug the lib

Note: the actual setting is store in your PbniList.vcproj...user file

For a given combination of debug/release and PB version, go to the project properties / Debugging, example provided for PB12.5

  • Command = C:\Program Files\Sybase\PowerBuilder 12.5\PB125.EXE
  • Command arguments = /workspace worksp125.pbw
  • Working directory = $(ProjectDir)
  • Attach = no
You can’t perform that action at this time.