[mtasc] mtasc TRACE how to ?

Sage Vann sagevann at gmail.com
Sun Aug 28 08:29:30 CEST 2005


Julien,

I solved this problem using local connection, I created two classes, one to 
play the catcher, that simply created and opened the connection, formatted 
the data, and used text area to display all the input. The next class 
contained a function that mapped to my TRACE function in MTASC. To do 
detailed things such as join you pass in the objects / data that you want to 
use as parameters after the basic trace, IE

TRACE( "whatever I want to say" + "ok say some more", myArg1, myArg2, myArg3 
);

the "myArg" objects can then be used later in your formatting function to do 
that join as they are passed with the mtasc TRACE function. If you email me 
directly I will provide a code example for you in return!

-Sage
Architekture.com <http://Architekture.com>

On 8/26/05, julien <jcastelain at gmail.com> wrote:
> 
> hello,
> i don't know how to use TRACE in mtasc
> for example in a class i use :
> 
> TRACE("hello");
> and compile using -trace _global.trace , works fine...
> but if i want to create a "special" class to trace a special way
> (example: trace(arguments.join(" : ")); ) how can i do this ? i
> searched but did not find examples
> 
> thanks
> --
> MTASC : no more coffee break while compiling
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20050828/f8eef437/attachment-0003.htm


More information about the mtasc mailing list