在 判断语句中,如果我想什么也不作,要怎么写?就是 if true then 
          ............
     else
          .........??else 的情况什么也不作,怎么写?
           

解决方案 »

  1.   

    这样不就行了么
    if expression then
    begin
      ;
      ;
      //...
    end;if expression then
    else
      ; // 写上一个空语句
      

  2.   

    if then
      somecode;
    else
      ;
      

  3.   

    if true then
      Showmessage('True')
    else ;
      

  4.   

    if true then 
    ............
    else
    exit;
      

  5.   

    你的意思是只有if 不成立时才执行代码,那你这样不行吗?
     if FALSE
           ...................你要执行的
      

  6.   

    if trim(edit1.Text)='1' then
        showmessage('=1')
      else;
      

  7.   

    你什么意思?
    if true then 
    ............
    else
    exit;这样。没条件还写什么啊。