Skip to content

Add "Prompt" function for user input #452

Open
@MHippo

Description

@MHippo

a function that work's like Typescript's

Code examples

normal usage

name = prompt("What's your name?: ")
print "hello, {@name}!"

pre-set value

age = prompt("How old are you?", 18) -- when given nil, it will set the variable @age to 18
print "you are {@age} years old!"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions