FUNCTION list_selected_components
(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/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);
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:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00