FBToolbox DLL :)

Blitz3D Forums/Blitz3D Programming/FBToolbox DLL :)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have change two functions :

; FBT_Inc(Value#,Inc#,Max#)
; With this command you can increment a variable with a value example : MyVar#=FBT_Inc(MyVar#,2.1,30)
; This command accept float, if you want tu use integer use for example : MyVar=FBT_Inc(MyVar,2,30)

; The same think in blitz is :
; -----------------------------------
; MyVar=MyVar+1

; If MyVar>=30 Then
; MyVar=30
; EndIf

; ---------------------------------------------------------------------------------------------------------------------------------------------

;FBT_Dec(Value#,Inc#,Min#)
; With this command you can decrement a variable with a value example : MyVar#=FBT_Dec(MyVar#,2.3,-10)
; This command accept float, if you want tu use integer use for example : MyVar=FBT_Dec(MyVar,2,-30)

; The same think in blitz is :
; -----------------------------------
; MyVar=MyVar-1

; If MyVar<=-20 Then
; MyVar=-20
; EndIf