Error getting tags :
error 404Error getting tags :
error 404 point | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
point
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Used with the is a and is not a operators to specify whether a value is a point.
Examples

if it is not a point then exit mouseUp

Additional Comments
Expander triangle

Use the point keyword to find out whether a value can be used in expressions that require a point on the screen.

Comments:

If the value consists of two numbers separated by a comma or by whitespace, it is a point. The numbers may be non-integers.

If the value is an expression, it is evaluated and Revolution checks whether the final value is a point. For example, the value of the expression "22 + 3,23" is 25,23 (which is a point), so the following expression evaluates to true:

22 + 3,23 is a point

However, the expression

"22 + 3,23" is a point

evaluates to false, because the double quotes prevent the expression "22 + 3,23" from being evaluated.

User Comments
Expander triangle