For Programmers: Free Programming Magazines  


Home > Archive > Clarion > March 2006 > returning procedure name









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author returning procedure name
Warwick Paton

2006-03-16, 3:55 am

Hi everyone
is there a way to return the procedure name in the code? I would like to
identify the procedure in the window{prop:text} so that clients can report
to me which procedure they are in when they are having difficulties.
thanks
Warwick


Robert Peros

2006-03-16, 3:55 am

"Warwick Paton" <w.paton@gmail.com> wrote in message
> is there a way to return the procedure name in the code? I would like to
> identify the procedure in the window{prop:text} so that clients can report to
> me which procedure they are in when they are having difficulties.

WM.Errors.GetProcedureName()
R.




Warwick Paton

2006-03-16, 6:55 pm

thanks Robert
but I don't quite follow.
Is WM = windowmanager ?
I don't seem to have access to the getprocedurename method.
I am using clarion 5a

W.

"Robert Peros" <no_spam.robert.peros@zg.t-com.hr> wrote in message
news:dvbb6f$g3o$1@ss405.t-com.hr...
> "Warwick Paton" <w.paton@gmail.com> wrote in message
> WM.Errors.GetProcedureName()
> R.
>
>
>
>



Robert Peros

2006-03-17, 3:55 am

"Warwick Paton" <w.paton@gmail.com> wrote in message
> Is WM = windowmanager ?

Yes.
> I don't seem to have access to the getprocedurename method.
> I am using clarion 5a

Sorry,this is true, in 5 ErrorClass not have this method.
I don't know easy way,maybe some little templates or you can play
with pragma profile / proc_trace=>on(see details in help & profile.clw)
but it's overkill for this.
R.



Warwick Paton

2006-03-17, 6:55 pm

thanks again Robert, it'll have to wait till I upgrade to 6
W
"Robert Peros" <no_spam.robert.peros@zg.t-com.hr> wrote in message
news:dve0i5$9vg$2@ss405.t-com.hr...
> "Warwick Paton" <w.paton@gmail.com> wrote in message
> Yes.
> Sorry,this is true, in 5 ErrorClass not have this method.
> I don't know easy way,maybe some little templates or you can play
> with pragma profile / proc_trace=>on(see details in help & profile.clw)
> but it's overkill for this.
> R.
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com