procedure SET_S_ARRAY(C : ADDRESS; VAL_ADR: ADDRESS ; NUM_ELEM, STR_LEN_SRC, STR_LEN_TRG : INTERGER);
The following is a supplemented basic activity that processes X,Y and generates two events according to the result :
PROCESS_OK
andPROCESS_ERROR.
procedure user_code_for_filter IS
-- Parameters:
-- Input int X;
-- Input int Y;
-- Output event PROCESS_OK;
-- Output event PROCESS_ERROR;
BEGIN
NULL;
END;The supplemented procedure is shown below:
procedure user_code_for_filter IS -- Parameters; -- Input int X; -- Input int Y;
-- Output event PROCESS OK;
BEGIN
apply_filter(X,Y,Z);
-- function,operates on X,Y
If in_range(Z)THEN
gen(PROCESS_OK’address);
ELSE
gen(PROCESS_ERROR’address);
END IF;
END;