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

Re: Click Debugger



PureBytes Links

Trading Reference Links

Guess I gotta do the "time warp"... Thanks very much for your suggestions!
It all helps!

Gene Pope

----- Original Message -----
From: "Bob Fulks" <bfulks@xxxxxxxxxxxx>
To: "Gene Pope" <gene@xxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Thursday, January 16, 2003 8:48 AM
Subject: Re: Click Debugger


> What you are asking for is some more modern way of debugging than the mid
1950's version built into TradeStation... (The feature list for TradeStation
7 mentioned this as I recall.)
>
> What I sometimes do is something like the following:
>
> ---------
>
> Input: SDate(1020315), Days(5), ...;
>
> Vars: EDate(JulianToDate(DateToJulian(SDate) + Days)), DeBugOn(FALSE);
>
> DeBugOn = Date >= SDate and Date <= EDate;
>
> if DeBugOn then Print(Date:7:0, Time:5:0, " 01", <Variable1>, <Variable2>,
...);
>
> <more code>
>
> if DeBugOn then Print(Date:7:0, Time:5:0, " 02", <Variable1>, <Variable2>,
...);
>
> <more code>
>
> if DeBugOn then Print(Date:7:0, Time:5:0, " 03", <Variable1>, <Variable2>,
...);
>
> <more code>
>
> ----------
>
> Anyway, you get the idea. Not very elegant but it works.
>
> Bob Fulks
>