Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PhixFlow is a low code application development platform which allows applications to be build within a development user interface instead of being coded from the ground up by software developers. However, there are places within PhixFlow where coding to achieve a function is needed in the form of expressions. 

Jep Expressions

Jep Expressions are software commands which perform a function within PhixFlow. Expressions are written in camelCase without spaces, and with the first word lower case and subsequent words uppercase eg. listToString(). Expressions contain brackets in which a set of arguments are written separated by commas. The below list contains a list of pages on expressions, which give their correct syntax. However, a simple example is an if() statement. 

...

The syntax of an 'if' statement is if(condition, trueExpression, falseExpression), so in the expression above, _out.NumberOfApplies, 1 and 0 are the three arguments. 

Arguments

Arguments can contain several types of functions. (To find the correct syntax for an expression - find it in the list below.)

...

/* and to 0 if it is not */

)Macros 

Macros

Sometimes we might want to write our own expressions that can be used time and again. To do this we can write a Macro. Instead of a writing the name of each attribute in the expression, instead make it generic by writing $args[1], $args[2] etc. 

...