BuildMaster Documentation

Math - Compare

  • Last Modified: 2019-07-30

This is generated from the built-in components of BuildMaster 6.1.10, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your BuildMaster instance to see exactly what operations are available.

$Compare

Compare two values numerically or as case-sensitive strings.

Script usage:

$Compare(Arg1, Operator, Arg2, [AsNumber])

Parameters:

Name Description
Arg1 The left-hand side of the comparison.
Operator One of: <, >, <=, >=, =, !=
Arg2 The right-hand side of the comparison.
AsNumber Override number detection. True causes an error if the arguments cannot be parsed as numbers. False always compares them as strings.

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 7dbbedf1 on master