Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
WebChemistry Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
PatternQuery:Language Reference
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Value Functions == ''Functions such as addition or comparison of numbers.'' === Abs === <code>Abs(x: Number) -> Number</code><br/> ''Computes the 'Abs' function of the argument.''<br/> ;Arguments : x: Number - ''Argument.'' ;Examples : <code>Abs(x)</code> :: ''Evaluates the expression.'' ---- === Divide (/) === <code>Divide(x: Number, y: Number) -> Number</code><br/> ''Computes the 'Divide' function of the values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x / y</code> :: ''Evaluates the expression.'' ---- === Equal (==) === <code>Equal(x: Value, y: Value) -> Bool</code><br/> ''Determines the 'Equal' relation between two values.''<br/> ;Arguments : x: Value - ''Left argument.'' : y: Value - ''Right argument.'' ;Examples : <code>x == y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === Greater (>) === <code>Greater(x: Number, y: Number) -> Bool</code><br/> ''Determines the 'Greater' relation between two values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x > y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === GreaterEqual (>=) === <code>GreaterEqual(x: Number, y: Number) -> Bool</code><br/> ''Determines the 'GreaterEqual' relation between two values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x >= y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === Less (<) === <code>Less(x: Number, y: Number) -> Bool</code><br/> ''Determines the 'Less' relation between two values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x < y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === LessEqual (<=) === <code>LessEqual(x: Number, y: Number) -> Bool</code><br/> ''Determines the 'LessEqual' relation between two values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x <= y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === LogicalAnd (&) === <code>LogicalAnd(xs: Bool+) -> Bool</code><br/> ''Computes 'LogicalAnd' of the input values.''<br/> ;Arguments : xs: Bool+ - ''Arguments.'' ;Examples : <code>x & y</code> :: ''Evaluates to True or False based on the values of x and y.'' ---- === LogicalNot (Not) === <code>LogicalNot(x: Bool) -> Bool</code><br/> ''Computes 'LogicalNot' of the input value. This function can be called using the shorthand 'Not'.''<br/> ;Arguments : x: Bool - ''Argument.'' ;Examples : <code>LogicalNot(x)</code> :: ''Evaluates to True or False based on the value of x.'' : <code>x.Not()</code> :: ''Evaluates to True or False based on the value of x.'' ---- === LogicalOr (|) === <code>LogicalOr(xs: Bool+) -> Bool</code><br/> ''Computes 'LogicalOr' of the input values.''<br/> ;Arguments : xs: Bool+ - ''Arguments.'' ;Examples : <code>x | y</code> :: ''Evaluates to True or False based on the values of x and y.'' ---- === LogicalXor (Xor) === <code>LogicalXor(xs: Bool+) -> Bool</code><br/> ''Computes 'LogicalXor' of the input values. This function can be called using the shorthand 'Xor'.''<br/> ;Arguments : xs: Bool+ - ''Arguments.'' ;Examples : <code>LogicalXor(x, y)</code> :: ''Evaluates to True or False based on the values of x and y.'' : <code>Xor(x, y)</code> :: ''Evaluates to True or False based on the values of x and y.'' ---- === Minus (-) === <code>Minus(x: Number) -> Number</code><br/> ''Computes the arithmetic negation of the argument.''<br/> ;Arguments : x: Number - ''Argument.'' ;Examples : <code>-x</code> :: ''Arithmetic negation of x.'' ---- === NotEqual (!=) === <code>NotEqual(x: Value, y: Value) -> Bool</code><br/> ''Determines the 'NotEqual' relation between two values.''<br/> ;Arguments : x: Value - ''Left argument.'' : y: Value - ''Right argument.'' ;Examples : <code>x != y</code> :: ''Evaluates to True or False based on the value of x and y.'' ---- === Plus (+) === <code>Plus(x: Number, y: Number) -> Number</code><br/> ''Computes the 'Plus' function of the values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x + y</code> :: ''Evaluates the expression.'' ---- === Power (^) === <code>Power(x: Number, y: Number) -> Number</code><br/> ''Computes the 'Power' function of the values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x ^ y</code> :: ''Evaluates the expression.'' ---- === Subtract (-) === <code>Subtract(x: Number, y: Number) -> Number</code><br/> ''Computes the 'Subtract' function of the values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x - y</code> :: ''Evaluates the expression.'' ---- === Times (*) === <code>Times(x: Number, y: Number) -> Number</code><br/> ''Computes the 'Times' function of the values.''<br/> ;Arguments : x: Number - ''Left argument.'' : y: Number - ''Right argument.'' ;Examples : <code>x * y</code> :: ''Evaluates the expression.'' <br/>
Summary:
Please note that all contributions to WebChemistry Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WebChemistry Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
PatternQuery:Language Reference
(section)
Add topic