FUNCTION list_selected_components

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION list_selected_components
      (aggr : AGGREGATE OF LIST OF maths_value;
       k : positive_integer ) : LIST OF maths_value;
   LOCAL
      result : LIST OF maths_value := [];
      j : INTEGER := 0;
   END_LOCAL;
      REPEAT i := LOINDEX(aggr) TO HIINDEX(aggr) BY 1;
         IF k <= SIZEOF(aggr[i]) THEN
            INSERT( result, aggr[i][k], j );
            j := j + 1;
         END_IF;
      END_REPEAT;
      RETURN (result);
END_FUNCTION;

Referenced By

Defintion list_selected_components is references by the following definitions:
DefinitionType
 derive_finite_function_domain FUNCTION
 derive_finite_function_range FUNCTION
 finite_function ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00