MIN
m = MIN (var1 [, var2, …, varN])
Returns the minimum value of the given parameters var1
to varN
. Parameters can be numbers, arrays or strings.
Example
print MIN(3, 4, 8) ' Output: 3
print MIN("abc","def") ' Output: abc
1, 5, 8]
x = [-print MIN(x) ' Output: -1
print MIN(x, 2, -9) ' Output: -9
Code samples using MIN
006 arrays+.bas
2048.bas
2048.bas
3d rotating cube with message.bas
analog clock.bas
Balleta 2-11-15.bas
betrayal: crows ii.bas
blackbox.bas
Blackbox.bas
blushing snowflakes.bas
bolmo.bas
bowling7.bas
bpf1.bas
bpf2.bas
Chaos_1xt.bas
Chaos_NPhase.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
clock.bas
clock.bas
conrec-sb-v01.bas
coordplot.bas
crgb.bas
crow.bas
dataminmax.bas
dia de una fecha.bas
dmsareaplot.bas
Math
ABS
ABSMAX
ABSMIN
ACOS
ACOSH
ACOT
ACOTH
ACSC
ACSCH
ASEC
ASECH
ASIN
ASINH
ATAN
ATAN2
ATANH
ATN
CEIL
COS
COSH
COT
COTH
CSC
CSCH
DEG
DERIV
DETERM
DIFFEQN
EXP
EXPRSEQ
FIX
FLOOR
FRAC
INT
INTERSECT
INVERSE
LINEQN
LOG
LOG10
M3APPLY
M3IDENT
M3ROTATE
M3SCALE
M3TRANS
MAX
MIN
POLYAREA
POLYCENT
POLYEXT
POW
PTDISTLN
PTDISTSEG
PTSIGN
RAD
RND
ROOT
ROUND
SEC
SECH
SEGCOS
SEGLEN
SEGSIN
SEQ
SGN
SIN
SINH
SQR
STATMEAN
STATMEANDEV
STATMEDIAN
STATSPREADP
STATSPREADS
STATSTD
SUM
SUMSQ
TAN
TANH
TRANSPOSE
If there is insufficient information on this page and you wish learn more about MIN,
please send an email to smallbasic@gmail.com. You can help to improve information about
MIN by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.