Re: how to know the filename, line number at the function called ?

2005-06-27 Thread 前川享仁
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

Re: how to know the filename, line number at the function called ?

2005-06-27 Thread Mat Hostetter
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

Re: how to know the filename, line number at the function called ?

2005-06-25 Thread Friedger
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