StarFisher

free astrology software

StarFisher » Documentation » User Manual » Scripts » Variable Types

Variable Types

 

 
int
Type: Property type

An integer number. E.g. 123 or -6.

 

 
float
Type: Property type

A decimal floating point number. E.g. 6 or 12.345 or -14.5777.

 

 
degree
Type: Property type

A degree in one of the following forms:

dd:mm:ss
dd:mm'ss"
dd:mm
dd.dddd

E.g.

11:34:00
11:34'00"
11.5666666666

 

 
latitude
Type: Property type

A latitude in degrees in one of the following forms:

dd:mm:ss
dd:mm'ss"
ddOmm
ddOmm:ss
ddOmm'ss
dd:mmO
dd:mm:ssO
dd:mm'ssO

where dd is degree, mm is minute and O is world orientation (W or E)

E.g.:

14:54:36E
14E54:36
14E54

 

 
longitude
Type: Property type

A longitude in degrees in one of the following forms:

dd:mm:ss
dd:mm'ss"
ddOmm
ddOmm:ss
ddOmm'ss
dd:mmO
dd:mm:ssO
dd:mm'ssO

where dd is degree, mm is minute and O is world orientation (N or S)

E.g.:

14:54:36N
14N54:36
14N54

 

 
string
Type: Property type

Any literal string enclosed in quotes. Special characters and quotes must be preceded by backslash.

E.g.: "Hello" or "Hello\n World" or "A quote \" in a string"

 

 
datetime
Type: Property type

Date and time in these forms:

dd.mm.yyyy dd:mm:ss [timezone [dst]]
mm/dd/yyyy dd:mm:ss [timezone [dst]]
yyyy-mm-dd dd:mm:ss [timezone [dst]]

The timezone is expressed like this: GMT+zone in hours and minutes (minutes are ignored now) e.g. GMT+1:00 or GMT-9:00. If not present, UT (GMT+0:00) is used
Daylight saving time is expressed by appending "DST".

Please note that DST here is technically an additional offset of one hour. This is need not be the same as DST in all countries, though

Examples:

12.3.2002 14:00:00 GMT+1:00
12.8.2002 14:30:00 GMT-2:00 DST
12.8.2002 14:30:00
2007-05-02 11:27:35 GMT+1:00 DST

 

 
symbol
Type: Property type

A name of an object. It may consist only of alphanumerical characters and underscores. It may not start with a number. Symbols starting with the underscore character are reserved.

E.g.: myName, My_Name_002.

 

 
color
Type: Property type

A color definition in HTML style. It is a string enclosed in quotes starting by hash sign(#) followed by hexadecimal value of red, green and blue:

"#rrggbb"

E.g.: "#FF0000" is pure red.

 

 
namelist
Type: Property type

A comma-separated list of symbols (see symbol) E.g. "Sun, Moon, Jupiter"