Approved User Defined Functions
-
This section will be for useful user defined functions that have been through a testing and approval process. You can download them using the codes and use them in your own programs. If you improve a function or fix any bugs please let us know so that we can update them.
Also if you have any of your own functions that you think might be useful for other people then you can submit them here
String Conversion Functions
isNumber: find out if a string variable contains (only) a numeric value (N1ECBNNDNN)
splitString: splitString: split a string using the specified delimiter (5Z537MNDNN)
stringToColour: convert a string to a colour constant (NGQ27MNDNN)
colourToString: convert a colour constant to a string (NGQ27MNDNN)
dec2hex: convert a decimal number to a hexadecimal string (NXKGHEZDNN)
hex2dec: convert a hexadecimal string to a decimal number (NXKGHEZDNN)
Text Display Functions
centreShadowText: draw centred text with an adjustable drop shadow (5WG63MNDHQ)
coolText: fade in text (NNR8YRND5C)
wrapText wrap text (E2H63MND1Y)