"max" function in MXS?

"max" function in MXS?

Anonymous
Not applicable
922 Views
3 Replies
Message 1 of 4

"max" function in MXS?

Anonymous
Not applicable
Does anybody know how to use the "max" math function in MXS. When I type e.g. max(4,2) in the expression controller, it does what it´s supposed to, returns "4". But in a script controller or a custom script it yields a syntaxerror message.
0 Likes
Accepted solutions (1)
923 Views
3 Replies
Replies (3)
Message 2 of 4

Swordslayer
Advisor
Advisor
Accepted solution
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hey, that´s it! Thank you very much. :-))) I´m still wondering why i cannot find any clue on the help page with the "amax" as search phrase.
0 Likes
Message 4 of 4

Swordslayer
Advisor
Advisor

Though you can search (and find) pages with amax using the online help system (filtering by Developer's Documentation and MAXScript language checkboxes), it's easier to use the offline chm maxscript reference (download link).