GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | MIN

Edit History

MIN

m = MIN (var1 [, var2, …, varN])

Home > Reference > Math

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
x = [-1, 5, 8]
print MIN(x)                        ' Output: -1
print MIN(x, 2, -9)                 ' Output: -9
Code samples using MIN
006 arrays+.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   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   dogstar5.bas   doodle.bas   Eliza.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  
This page was last edited on Tue, 6 Jun 2023 23:24:05 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.