--- title: "goto function-pos(a equals b, c, d)" slug: "basic-goto-filter-2" updated: 2026-08-11T13:50:43Z published: 2026-08-11T13:50:43Z canonical: "docs.lobstersoftware.com/basic-goto-filter-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # goto function-pos(a equals b, c, d) This function compares **a** and **b** and continues the processing of the Function chain depending on the result. If there is equality, the processing continues at position **c**, if there is inequality the processing continues at position **d**. A jump back to a previous position is not possible and will lead to an error. The check depends on data types of parameters **a** and **b**. If both arguments are of type *String* a string comparison is performed. If one argument is of type *Boolean*, the other one will be converted to *Boolean* and a boolean comparison is done. In all other cases, a numerical comparison will be performed using *BigDecimal*. *Dates* and *Timestamps* are converted to 'Unix time', i.e. the number of milliseconds since *1970-01-01 00:00:00* in order to compare them numerically. ## Parameters | Parameter | Description | | --- | --- | | a | Value to check. | | b | Compare value. | | c | [Functions (GUI)](/v1/docs/en/phase-3-target-structure-functions) to continue at in case of equality of the two values. **Example:** *2*. | | d | Function position to continue at in case of inequality of the two values. **Example:** *4*. | ## Examples | Parameter a | Parameter b | Parameter c | Parameter d | Continue processing at function chain position | | --- | --- | --- | --- | --- | | value | value | 3 | 10 | 3 | | value | othervalue | 3 | 10 | 10 | Function chains in Lobster consist of sequences of functions that are used to define conditions or to process data. The possibility of encapsulating them in macros and reusing them allows for central maintenance and compact use. Changes to a macro affect all profiles with that macro. Function chains can be determined both system-wide and client-specific.