@all
thanks for fast reply, now it works .. changing the variable to boolean brings 
the expected result. (make me a bit wonder)

@aron

i`d like to avoid delivering the parameter "SHOW" to my output function, that 
one has enough parameters .... ( Yes i know, coding is more readable when every 
parameter inside the function used is delivered in the function statement, but 
no rule without exception ... *g).


procedure trace_line( offset , text , V1 , V2 , V3)
{ 

    // _TRACE("Variable show:" + kz_show_trace);
    if ( kz_show_trace  )
    { 
      switch (Offset)
      {
         case 5:
              Va_offset = "     ";      
              break;
         case 10:
              Va_offset = "          ";      
              break;
         case 15:
              Va_offset = "               ";
              break;
         case 20:
              Va_offset = "                    ";
              break; 
         case 25:
              Va_offset = "                         ";
         case 30:
              Va_offset = "                              ";
              break; 
        default: Va_offset = ""; break;

      }

      _TRACE( Va_offset + "" +
              text + " " + 
              V1   + " " +
              V2   + " " +
              V3   + " "   );
    }
    else
    {
     // kein output
    } 

} 



@reinsley

thanks, i`ll have a look at it ..



Reply via email to