[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Trace Output via Parameters (AFL Eventhandling ?)


  • Date: Tue, 12 Jan 2010 15:44:05 -0000
  • From: "schnitt_tt" <schnitt_tt@xxxxxxxx>
  • Subject: [amibroker] Re: Trace Output via Parameters (AFL Eventhandling ?)

PureBytes Links

Trading Reference Links


@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 ..





------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/