skill function path

D

Dominic DuVarney

Guest
Is there a way to get the path to the file from which a skill function
was loaded?

for example, something like:

getSkillFunctionPath("mySkillFun")

"~/cadence/skill/MyFunctions.il"
Thanks
 
On Apr 29, 4:50 pm, Dominic DuVarney <srlayoutdesig...@yahoo.com>
wrote:
Is there a way to get the path to the file from which a skill function
was loaded?

for example, something like:

getSkillFunctionPath("mySkillFun")

"~/cadence/skill/MyFunctions.il"

Thanks
BTW, the solution I need has to find the file even if it's not in the
skill path
 
Dominic DuVarney wrote, on 04/29/08 22:58:
On Apr 29, 4:50 pm, Dominic DuVarney <srlayoutdesig...@yahoo.com
wrote:
Is there a way to get the path to the file from which a skill function
was loaded?

for example, something like:

getSkillFunctionPath("mySkillFun")

"~/cadence/skill/MyFunctions.il"
Thanks

BTW, the solution I need has to find the file even if it's not in the
skill path
That would be:

whereIs(mySkillFun)

(no quotes). The code has to have been loaded in "debugMode" (i.e. with the
SKILL debugger enabled) - because otherwise it doesn't record the file names and
line numbers.

Regards,

Andrew.
 
Thanks Andrew.

On Apr 30, 5:47 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Dominic DuVarney wrote, on 04/29/08 22:58:

On Apr 29, 4:50 pm, Dominic DuVarney <srlayoutdesig...@yahoo.com
wrote:
Is there a way to get the path to the file from which a skill function
was loaded?

for example, something like:

getSkillFunctionPath("mySkillFun")

"~/cadence/skill/MyFunctions.il"
Thanks

BTW, the solution I need has to find the file even if it's not in the
skill path

That would be:

whereIs(mySkillFun)

(no quotes). The code has to have been loaded in "debugMode" (i.e. with the
SKILL debugger enabled) - because otherwise it doesn't record the file names and
line numbers.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top