私はC ++のバックグラウンドから来ており、このようなステートメントの1つと混同しています
if TUtils.CheckValue(objData, LChan) and
(LChan.Int.Value = (aObject as TomDBChan).Int.Value) then
begin
//Operation
end;
これを変換してもよろしいですか
LChan.Int.Value = (aObject as TomDBChan).Int.Value ;
if TUtils.CheckValue(objData, LChan) then
begin
//Operation
end;
または、LChan.Int.Value に何らかの値があるかどうかも確認する必要がありますか?