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