LF

LF (-- lineFeed)

Inputs

Outputs

This builtin has no inputs. It always pushes the fixed known Text value for a single line-feed character, equal to "\n".

LF is convenient when building known multi-line Text values from smaller pieces.

Behavior

Example

{} 0 {} [
  "-- build multi-line text --" printCompilerMessage
  "A" LF & "B" & printStack _:;

  "-- same as \"\\n\" --" printCompilerMessage
  LF "\n" = printStack _:;

  0
] "main" exportFunction

Expected Output During Compilation

-- build multi-line text --
"A
B"
-- same as "\n" --
TRUE

See also