PrintingΒΆ

Using show to print values in PromptScript.


1show "Hello, World!"
2show "{} - {}".format("Slot 1", "Slot 2")

Note

Strings can also be created with single quotes

You can also print variables:

message = "Hello, World!"
show message

Or the output from another process:

show [read "file.txt"]

Tip

The square brackets ([]) are for chaining. Learn more about operation chaining here.