This site has been deprecated. Do not edit pages here. Please visit the new Pico Labs documentation.


Skip to end of metadata
Go to start of metadata

KRL provides support for conditional expressions with the following syntax:


This is akin to the ?: ternary operator found in the C family of languages.
Conditional expressions can be nested to produce structures like the following:

Because of the limitations of the parser, most predicates will need to be enclosed in parentheses:

Labels:
  1. Jun 12, 2012

    Anonymous

    Thanks for being on point and on tagert!