A value in a single unindexed field is accessed in an expression using dot notation:
dataset_reference.field_name
The dataset_reference parameter corresponds to one of the keywords previously described. The field_name parameter corresponds to a field name in the dataset. The following example returns the value of field Y in a process dataset:
Process.Y
Alternatively, a value can be accessed using bracket notation:
dataset_reference[field_name_expression]
The field_name_expression parameter is an expression that returns the name of a field in the referenced dataset. The following example returns the value of field Y in a process dataset:
Process["Y"]
The best practice is typically to use the bracket notation for an expression to specify a dataset or field name in a dataset.
|
Copyright © 2014 CA.
All rights reserved.
|
|