Icon Ambig
  This page is lacking examples. Please provide some!

Strings are the most complex data structure currently in FiM++. Though this is likely to change in future versions, Sparkle has no provisions for anything more complex. A string is an array of characters, which are, themselves, abstractions of numbers, which are, in turn, abstractions of arrays of Booleans. A string is typically used for input and output text, and, when printed, is simply a concatenation of its characters with no delimiters. That is to say, the string "Hello world!" prints exactly as Hello world!

FDS Edit

To represent a string in the source code, use the following syntax. Note that the prefix and suffix are not stored in memory.

Prefix Edit

Exactly one of:

  • "

Internal Edit

Any number of:

Restrictions Edit

Almost any UTF-8 character can be used. However, there are a few exceptions in Sparkle. Of course, double-quotes cannot be used (", , and ). However, despite this restriction, you can use any other Unicode character. This includes non-printable characters and all whitespace characters (yes, even newline characters). Certain compilers may restrict this further, but Sparkle does not inherently do so.

Suffix Edit

Exactly one of:

  • "

See Also Edit