Properties and References

Properties of objects can be inspected and referenced. There are thousands of property Inspectors available to cover the majority of software and hardware features of *nix, Windows and Mac systems.

Q: day_of_week of current date
A: Tuesday

Returns a reference to the day of the week from today’s system date.

Q: year of current date
A: 2012

Returns the year portion of today’s date

Q: number of processors
A: 2

Returns the number of processors in the client computer.

Q: names of local groups
A: Administrators
A: Backup Operators
A: Guests

Returns a plural property (names) as a list corresponding to the local group names.

Q: bit 0 of 5
A: True

Returns the zero (low order) bit as True (1) or False (0).