Skip to content

Check that the fact does not exist, but with the data of another fact #33

@kanauro

Description

@kanauro

I have a fact:
AS.run << Run(size=MATCH.size,
startX=MATCH.x,
startY=MATCH.y,
configuration=MATCH.conf,
lastX=MATCH.xe,
lastY=MATCH.ye,
length=MATCH.length,
plan=MATCH.plan)
.
I want add condition (NOT(EXISTS (Run (length = MATCH.length + 1))). \ I want verify, that there no eny facts Run, which have length ofcurrent fact "Run" - 1
I know, that "MATCH.length + 1" is elligal, but how i can it another way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions