Some string-commands: StringField, Space, byte-calc

Share your advanced PureBasic knowledge/code with the community.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Some string-commands: StringField, Space, byte-calc

Post by AND51 »

With this topic I want to avoid a double posting.

The following functions
  • StringField_InsertString() — Insert a field before an other field
  • StringField_SwapFields() — Swap two fields
  • StringField_RemoveField() — Remove the given field
  • Space2() — Similar to Space(), but returns any letters using 3 different, optimized methods
  • bytecalc() — Converts a quad number in bytes to the biggest possible device (KB, MB...)
can be found here: »http://www.purebasic.fr/english/viewtop ... ight=AND51«
PB 4.30

Code: Select all

onErrorGoto(?Fred)