Board logo

Subject: 1.1.5.957的格式化代码的if else每次多一行 [Print This Page]

Author: hq200306    Time: 2019-1-3 17:21     Subject: 1.1.5.957的格式化代码的if else每次多一行

procedure TForm13.UniQuery1f11SetText(Sender: TField; const Text: string);
begin
  if Text = '' then
    Sender.Value := null


  else
    Sender.Value := Text;
end;
Author: hq200306    Time: 2019-1-3 17:22

//如果代码是这样就格式正确
procedure TForm13.UniQuery1f11SetText(Sender: TField; const Text: string);
begin
  if Text = '' then
    Sender.Value := null
  else
    Sender.Value := Text;
end;
Author: Passion    Time: 2019-1-4 12:36

正在想办法处理。
Author: Passion    Time: 2019-1-7 09:40

958已经修复。




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0