LuaCodifiedFactProperty:new
The constructor for a LuaCodifiedFactProperty
object (creates a new LuaCodifiedFactProperty
object). The LuaCodifiedFactProperty
object is a property of an incomplete fact.
Syntax
new(code, value, qualifiers)
Arguments
Argument | Description |
---|---|
code
|
(string) The code for the property. |
value
|
(string) The value for the property |
qualifiers
|
(LuaCodifiedFactQualifier) An array of qualifiers for the property. This argument can be nil . |
Example
local fact = incomplete:initToCodifiedFact() fact:setProperties({LuaCodifiedFactProperty:new("QAGE","42", nil)}) ...