請問一下once如何搭配else使用?
例如
once(
condition1 and
condition2) begin
ret =1;
retmsg=...; end;
else once(
condition3 and
condition4) begin
ret =1;
retmsg=...; end;
請問一下once如何搭配else使用?
例如
once(
condition1 and
condition2) begin
ret =1;
retmsg=...; end;
else once(
condition3 and
condition4) begin
ret =1;
retmsg=...; end;
1 評論