求delphi高手帮忙!

computer_li 2011-10-20 01:02:40
delphi转C# ,本人不懂delphi,当初学得pascal已经都还给老师了,希望高手帮忙,指导一下个别语法就行。
QQ:2262739565
...全文
70 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
funxu 2011-10-20
  • 打赏
  • 举报
回复
LZ可以看看枚举
funxu 2011-10-20
  • 打赏
  • 举报
回复
in 是判断你的char字符是否在[' ', ',', #13, #10, '(', ')', '=', '+', '-', '*', '/'] 这个区域里
computer_li 2011-10-20
  • 打赏
  • 举报
回复
 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;

不明白in是什么东西
李_军 2011-10-20
  • 打赏
  • 举报
回复
估计忘记贴了
五哥 2011-10-20
  • 打赏
  • 举报
回复
看完问题 ,我也在找代码
wzjin1222 2011-10-20
  • 打赏
  • 举报
回复
代码呢?

828

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧