Contents

Roo

input()

Requests input from the user.

input(prompt as Text) as Text

Parameters

  • prompt: Text. A message to display to the user. Can be empty ("")

Returns

  • Whatever text the user enters as a Text object

Example

var name = input("What is your name?")