Sfairadora

  • Reference Guide

set_size

var <- set_size(n)
The var parameter is a variable of the Binary, String or Text type. The function sets the size of the variable content to the required bytes/characters. If the original content is longer, the function removes data from the end. If it is smaller, appropriate number of trailing spaces (for the String and Text) or zeroes (for the Binary type) is appended.
The function returns an l-value referring to the variable var.