828
社区成员
发帖
与我相关
我的任务
分享
if ASQL[n2] in [' ', ',', #13, #10, '(', ')', '=', '+', '-', '*', '/'] then
if EqStr(GetAWordFromImd(ASQL, n2 + 1), 'case') then
begin
Inc(st2);
// inc(c1);
end
else
if EqStr(GetAWordFromImd(ASQL, n2 + 1), 'end') then
begin
// showmessage(inttostr(n2) + ' ' +ASQL[n2]);
Dec(st2);
// inc(c2);
end;
while (not (ASQL[k] in [' ', ',', #13, #10, '(', ')', '=', '+', '-', '*', '/'])) and (k <= Length(ASQL)) do
begin
ssTemp := ssTemp + ASQL[k];
Inc(k);
end;