FUNCTION make_numeric_set
(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION make_numeric_set
(start : maths_number;
delta : maths_number;
incs : positive_integer ) : SET [2:?] OF maths_number;
LOCAL
i : INTEGER;
numeric_set : SET [2:?] OF maths_number := [ start, start + delta ];
END_LOCAL;
IF incs > 1 THEN
REPEAT i := 2 TO incs;
numeric_set := numeric_set + start + i * delta;
END_REPEAT;
END_IF;
RETURN (numeric_set);
END_FUNCTION;
Referenced By
Defintion make_numeric_set is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00