小弟不懂delphi  请大侠帮解释一下 
  for i:=1 to TimeOut do
  begin
    PortRam_GetWL1;
    if!  RamIO.WL1<>$5A then
    begin
      RamIO.RL1:=$A5;
      PortRam_SetRL1;
      result:=0;
      break;
    end;
  end;
这段程序里if!这句什么意思
//I(K1:byte;NM:byte):Integer; stdcall;
  RamIO.Command[1]:=byte('I');
  if K1 in [2,8] then
  begin RamIO.Command[0]:=$03;
    RamIO.Command[3]:=NM;
  end
  else RamIO.Command[0]:=$02;
  RamIO.Command[2]:=K1;
这段里if那一句什么意思啊如果可以的话 最好也能帮用vc表达一下  十分感谢!!