What are values?
Values can be simple or complex
Simple values are numbers, truth-values (true & false), bits of text. Examples:
4389 true Billy Bunter
Complex values: Object instance
Logiak also allows values to be Object instances which is a record made up of several fields, each of which have (simple) values.
In a Logiak Process values have names.
These are usually short and “symbolic” (i.e. lowercase, no spaces or hyphens ..), but should seek to be mnemonic (remind you what value they represent).
For example, the “simple” values above might have names such as:
invoice_id invoice_is_paid customer_name
Referring to simple values
Names let us refer to values, even when we don’t actually know what the values are.
Everyone is likely familiar with maths at school where values get associated with names: “let x equals 5…”
For simple values, surrounding the value name with braces gets us the value
This expression might represent the value 5
This expression might represent the value Fred Bloggs.
Read more about how to refer to values, including how to refer to field values within object instances´values
Four sources of values in Logiak
User responses to questions in the Process are named values
Functions have an associated calculation to yield their value
Object instances can be inputs to a Process, and they bring a value for each field_
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.