aziascreations / PB-Utils

A collection of small independent includes for your PureBasic programs that aim to provided some missing and important functionalities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PureBasic Utils

A collection of small includes that attempt to fix and give out access to features that are not present in PureBasic by default.

The documentation for each include is included in the source code itself, as well as on a dedicated page that is accessible with a link given in this readme and in the source code itself.

If you want to consult the changelog, you can do so here.

Summary

 ● Includes
  ⚬ BasicTernary
  ⚬ Colors
  ⚬ Endianness
  ⚬ Files
  ⚬ Strings
  ⚬ UUID4
 ● Remarks
 ● Credits
 ● License

Includes

In this section you will find a list of all the includes, as well as a short description of it, and links to the documentation and the source code.

BasicTernary

Contains a set of procedures that act as a sort of ternary operator for each of the basic data types provided by PureBasic.

📜 Documentation   💾 Source Code

Colors

Contains a collection of RGB color constants that are from CSS3, or Windows Metro UI.

📜 Documentation   💾 Source Code

Endianness

Contains a set of procedures and a macro that will swap the endianness or nibbles of a given value which has one of the basic types provided by PureBasic.

The primary use for this include is to be able to interact with binary data without having to worry about implementing a new way of swapping endianness each time.

📜 Documentation   💾 Source Code  

Files

Comming soon

Contains a small set of procedures to help with files and paths.

📜 Documentation   💾 Source Code

Strings

Contains a set of procedures to manipulate string more easily if you need to.

The included procedures allow you to split a string and check if it is null or empty.

📜 Documentation   💾 Source Code

UUID4

Contains a set of procedures to generate UUID4 strings and to validate them.

A procedure to generate it directly into a buffer is also planned.

📜 Documentation   💾 Source Code

Remarks

Some of the includes may declare constants and use some enumeration identifiers.
More information about these can be found on the respective documentation page of each include.

Credits

● Demivec
   ⚬ Strings - Original ExplodeStringToArray(...) procedure idea  (Thread)

● djes
   ⚬ Endianness - Original EndianSwapL(Number.l) procedure idea  (Thread)

License

This license applies to all the code in this repo.

WTFPL

About

A collection of small independent includes for your PureBasic programs that aim to provided some missing and important functionalities.

License:Do What The F*ck You Want To Public License


Languages

Language:PureBasic 100.0%