HyperMath

Strings

Strings

Previous topic Next topic No expanding text in this topic  

Strings

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

HyperMath uses strings, or text, variable types.

> print("hello")

hello

You can assign strings to variables just like you can numbers.

> who = "HyperMath user"

> print(who)

HyperMath user

You can join strings together using the + operator between two strings.

> print("hello ")

hello

> print("hello " + who) // the variable "who" was assigned above

hello HyperMath user

See Also:

HyperMath String Types