You might end up working yourself back to the original statement.
Here is another example construct for you.
(
name of it,
values of property results whose (name of property of it = "OS") of it,
values of property results whose (name of property of it = "IP Address") of it
)
of bes computers
The first line “name of it” is possible because the BES Computer object has an attribute call “name”.
Other attributes of BES Computer are “Operating System”, “CPU”, and etc.
However, most properties of BES Computers are not accessed that way. This is where the 2nd form comes in.
I have included “OS” and “IP Address” for you to see the difference. When the results are more than one, you will get multiple lines for your output. If you want to have only one line for one Computer, you can try the following instead.
(
name of it,
values of property results whose (name of property of it = "OS") of it,
(concatenations of (values of it as string)) of property results whose (name of property of it = "IP Address") of it
)
of bes computers