Hi,
Normally, if i’d want to check whether a word is defined within the concept, I’d do something like
s: TESTCASE ( * _0?~someconcept ) # A simplified test case
I’m wondering if there’s a way to do it inside a “if” block. The reason why I’d like to do this is that I’m setting _1 from a ^query. Seems like a straightforward way isn’t working:
if ( _1?~someconcept) {
Do something here.
}
I may have a problem in my code, I’m just wondering is this supposed to work or if there is some other way of doing the same thing.
Oh, and did handling of ~money change in version 2.8? I think “$3” used to match ~money, but it doesn’t seem to do that any more? Or maybe I’ve made a mistake there, too.
Thanks for the adding the ^retry in 2.71 - that has been very useful to me.