MAX
Die MAX Funktion liefert aus zwei Byte oder Word Zahlen die größte Zahl zurück. Die MIN Funktion ist das Gegenstück zu dieser Funktion.
Syntax:
Max(Zahl1, Zahl2)
Zahl1: Variable, Zahl oder Konstante vom Typ Byte oder Word Zahl2: Variable, Zahl oder Konstante vom Typ Byte oder Word
Beispiel:
Define x As Word x = Max(1,2) Print x & " ist die größere Zahl"
Siehe auch: MIN