User bio
404 bio not found
Member since Feb 13
Posts:
Replies:
Hey after further testing I encountered a problem.
When trying to run a routine from within a method using the terminal, it would execute the argument in our terminal scope and not in that classMethod context, For example:
ClassMethod test()
{
s arg = "asd"
s routine = "say^hello(arg)"
}
then in terminal:
s arg = "ddd"
d ##class(something).test()
output:
ddd
and NOT asd as you would expect...
any help on this topic?
This works really well, Thank you for your elaborated answer!
Certifications & Credly badges:
omer has no Certifications & Credly badges yet.
Global Masters badges:
omer has no Global Masters badges yet.
Followers:
Following:
omer has not followed anybody yet.
I tried it, did not work, It seems that the code used to manually take and compile the parent class, And then compile the class we are on. This does not work as the
Right now even if I manually take the parent class and compile it still won't work.
scenario 1:
when manually taking the parent class and trying to compile it, it would then compile its child and fail there (presumably because the child compiled in parallel to the parent causing the Method or Property undefined)
scenario 2:
when trying to compile the class with the "ckr" flag, it would tell us the class was compiled successfully but in reality the class won't be compiled as we go inside it in studio we see it required compilation still.