Properties

All objects have properties and those properties can be inspected and referenced. An example of a property of an object might be its size or length. There are thousands of property inspectors available to cover the majority of software and hardware features of Windows, Mac, and UNIX systems.

These are different ways that you can use to list the properties of an object you can query using an inspector:

  • Click Inspector Search, type the name of the inspector that you want to search and then the magnifying lens. In the list that you get, click the link to the inspector.
  • Click Reference, navigate the area of interest that the inspector belongs to and then click the inspector name.
  • Query the inspector, for example "string", from the Fixlet Debugger or the QnA tool using an introspector called "properties of type". This page explains how to use this introspector.
  • Q: properties of type "string"
  • A: sets of <string>: string set
  • A: length of <string>: integer
  • A: concatenations of <string>: string
  • A: ....

A string has over 150 properties that you can query!

You can query its length:

  • Q: length of string "test"
  • A: 4

... and you can hash the string:

  • Q: SHA256 of string "test"
  • A: 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08

You can query the properties of date objects like the day of the week:

  • Q: day_of_week of current date
  • A: Tuesday

... and you can get the current year:

  • Q: year of current date
  • A: 2015

You can query the number of processors our system has:

  • Q: number of processors
  • A: 2

And you can query their speed:

  • Q: speeds of processors
  • A: 3093000000 hertz

You can also query aspects of the local system

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

Watch the video about the Property of an Object to have more information about this clause.