A number of calls return lists of symptoms. These are represented as an array of array references. Each subarray consists of four elements, each of which has the following significance:

 $x[0] = type (INT)
 $x[1] = certainly (FLOAT)
 $x[2] = object (STRING - class::instance)
 $x[3] = event/symptom name (STRING

You can gain access to the elements by using one of the following syntaxes:

  • $list[ $record_number ] -> [ $field_number ]

  • $listref -> [ $record_number ] -> [ $field_number ]

    The first syntax is used where the list is held in an array variable. The second syntax is used when the list is held in an array pointed to by a reference.