January 15, 2021, 06:07:17 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
Algorithms
»
[bb] QLimit by Neochrome [ 1+ years ago ]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [bb] QLimit by Neochrome [ 1+ years ago ] (Read 539 times)
BlitzBot
Jr. Member
Posts: 1
[bb] QLimit by Neochrome [ 1+ years ago ]
«
on:
June 29, 2017, 12:28:42 AM »
Title :
QLimit
Author :
Neochrome
Posted :
1+ years ago
Description :
This function basically just limits the values you use
IE.
e=45
retval = QLimit(e,0,30)
retval is 30.
This is a cheap nock off from Marks Blitz 2 Amiga QLimit command, Very handy!!
Code :
Code: BlitzBasic
Function
QLimit
(
Quick,Low,High
)
If
Quick>High
then
Quick=High
If
Quick<Low
then
Quick=Low
Return
Quick
End function
Comments :
none...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
Algorithms
»
[bb] QLimit by Neochrome [ 1+ years ago ]
SimplePortal 2.3.6 © 2008-2014, SimplePortal