[↑]
SmileBASIC4 Replica Reference
MAX
1. Get the largest value in a specified numeric array

MAX(NumericArray)

Argument

NumericArray

Numeric array to get the maximum value

Return Value

Largest number in the numeric array

Example

DIM TMP[2]=[50,3]
A=MAX(TMP)
2. Get the largest value from multiple specified numbers

MAX(NumericValue,NumericValue[,NumericValue...])

Argument

NumericValue

Arrange the numerical value whose maximum value is to be examined as argument

Return Value

The largest number of arguments passed

Example

A=MAX(1,2,3,4)
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the official reference site of the SmileBoom Co.Ltd. that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it. For automatic update, contents may become improper.
Please confirm the correct content in an official site.

June 3, 2020
by mim
OK
|