T
ABLE
Value type:
Boolean
Long
Double
String
Array
Object reference
T
ABLE
Value type:
String
Number
Boolean
Null
Object
Undefined
Photoshop 7.0 Scripting Guide
2.2
Visual Basic Values
What it is:
Logical true or false
Whole numbers (no decimal
points). Longs can be
positive or negative.
A number which may
contain a decimal point.
A series of text characters.
Strings appear inside
(straight) quotation marks.
A list of values. Arrays
contain a single value type
unless the type is defined as
Variant.
A specific reference to an
object.
2.3
JavaScript Values
What it is:
A series of text characters.
Strings appear inside
(straight) quotation marks.
Any number not inside
double quotes.
Logical true or false.
Something that points to
nothing.
Properties and methods
belonging to an object or
array.
Devoid of any value
Scripting basics
Example:
True
14
13.9972
"I am a string"
Array(10.0, 20.0, 30.0, 40.0)
appRef.ActiveDocument
Example:
"Hello"
3.7
true
null
activeDocument
undefined
2
Values
13