hi gurus,
thanks for informations.
{define-macro {output-url-and-line ?src:tokens}
let url:url = tokens.url
let line:int = {tokens.get-line-and-column tokens.start-location}
{return
{expand-template
{output ?{Literal url.name : line}}
}
}
}
would you tell me more hints?
what are
Also I can't find it in online help, and it causes syntax error.
so far, this example cannot seems to work and compiler complains
it cannot recognize 'tokens'.
Yes, that example was incorrect.
Here are macros that return the current filename (as a String)
and line number (as an int). I tested
get-backtrace
might give you some information
Friedger
***
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this