Skip to content

STRINGS

Andrew Owen edited this page May 30, 2023 · 1 revision

STRING$


string = STRING$(length, char)

Returns a string of length times the character char.

Parameters

  • If char is a numeric expression, it must be in [0 to 255] and is interpreted as the code point of the character.
  • If char is a string expression, its first character is used.

Errors

  • length has a string value: Type mismatch.
  • char is the empty string: Illegal function call.
  • char or length is not in [-32768 to 32767]: Overflow.
  • char or length is not in [0 to 255]: Illegal function call.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally