Skip to content

Commit

Permalink
Update Z.Expression.Sequence.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
PassByYou888 committed Jul 7, 2024
1 parent 538e9ba commit c74e631
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Source/Z.Expression.Sequence.pas
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ TExpression_Sequence_RunTime = class(TOpCustomRunTime)
procedure Do_End_And_Result(Result_: Variant);
function Running: Boolean;
function Is_Wait_End: Boolean;
function Code_Result: Variant;
property Enb_Result: Variant read Code_Result;
property Result_: Variant read Code_Result;
function Get_Code_Result: Variant;
procedure Set_Code_Result(Value: Variant);
property Code_Result: Variant read Get_Code_Result write Set_Code_Result;
property Enb_Result: Variant read Get_Code_Result write Set_Code_Result;
property Result_: Variant read Get_Code_Result write Set_Code_Result;
procedure Do_Error;
procedure Progress; virtual;
end;
Expand Down Expand Up @@ -444,14 +446,20 @@ function TExpression_Sequence_RunTime.Is_Wait_End: Boolean;
Result := False;
end;

function TExpression_Sequence_RunTime.Code_Result: Variant;
function TExpression_Sequence_RunTime.Get_Code_Result: Variant;
begin
if NonLinear_Tool <> nil then
Result := NonLinear_Tool.Result_
else
Result := NULL;
end;

procedure TExpression_Sequence_RunTime.Set_Code_Result(Value: Variant);
begin
if NonLinear_Tool <> nil then
NonLinear_Tool.Result_ := Value;
end;

procedure TExpression_Sequence_RunTime.Do_Error;
begin
NonLinear_Tool.Do_Error;
Expand Down

0 comments on commit c74e631

Please sign in to comment.