Implementation of PRePTagIF

    This is a subclass of PRePTagCode which defines the IF tag. It will examine the specified PRePTag (given as first argument) whether it has the specified value (given as second argument). It needs at least three arguments, but maximum four.

    Constructor:

    PRePTagIF()
    names the tag "IF"

    Methods:

    compile(Session)
    gets the first argument and checks whether there is a tag with a value which is equal to the second argument.

    Related sites:
How the IF Tag works
Back