Skip to content

Xcalc: Utility Functions

Read Stanton edited this page Feb 12, 2021 · 12 revisions

Utility Functions

List

ls_add(list, element)

  • Adds element to list and returns the modified list

  • Type: Function

ls_contains(list, value)

  • Returns the index of val in list; 0 otherwise

  • Type: Function

Other

parse_fn(function)

  • Type: Program

  • Stores function into f_(x)

parse_fn2(function, name, var)

  • Type: Program

  • Stores function into function variable with name name and variable var

Clone this wiki locally