Let me first say thank you to his group. The help/training with this is fantastic.
Now onto the problem ...
I’m trying to assign a fact-set to a second variable to use for lookups.
I’m using a fact query to iterate through a concept:
concept: ~TEST_REQUIREMENTS( “test 1” “test 2” “Test 3”)
I can iterate through the list using the default fact-set:
?: TEST_REQUIREMENTS (give me requirement test) Size is:
^query(direct_sv ~TEST_REQUIREMENTS member ?)
_9 = length(@0)
size: _9
\n List is:
loop (_9)
{
^first(@0subject) ,
}
Output:
HARRY: Size is: size: 3
List is: test 1, test 2, Test 3
Works with no problem.
I need to do a second query, so I want to assign the result from the default fact-set to another fact-set:
?: TEST_REQUIREMENTS (give me requirement test) Size is:
^query(direct_sv ~TEST_REQUIREMENTS member ?)
@1 = @0
_9 = length(@1)
size: _9
\n List is:
loop (_9)
{
^first(@1subject) ,
}
Output:
HARRY: Size is: size: 0
List is:
Is there another way to get the fact-set 0 into fact-set 1?