Skip to main content

subs

subs(
@llll ## required
@address 1
@model null
@multi 0
@sizes 0
) -> llll/null

Substitutes one or more elements of a list according to their positions.


Arguments

  • @llll [llll] (required)
  • @address [int] (default: 1)
  • @model [llll/null] (default: null)
  • @multi [llll] (default: 0)
  • @sizes [llll] (default: 0)

Output

Modified llll [llll/null]

warning

subs is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, subs will return null without raising an error if required arguments are not provided.