Skip to content
FutureBlitz

    Install

    Import std.core.print

    Input

    std.core.print

    function

    Public Function Input(prompt: String = ""): String?

    Writes the prompt, then reads a line, without its line break, "\r\n" too. Null at the end of the input. Nothing else runs meanwhile.

    Examples

    Local name = Input("What's your name? ")
    If name != Null Then Print("Hello, {name}!")

    std/core/print.fb, line 73

    Report an issue with this page or with FutureBlitz on GitHub.