Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Console Input

Dhruvan edited this page Oct 20, 2022 · 4 revisions

This is how Console Input works in Versace

Input

  • You can get input from the user using the in keyword.
  • Type declarations are optional, by default the type is String. if you want to change the type, you can do so by adding < (type) anywhere after the string.
  • Input is written in the following format:
in (variable) < (string) < (args)
  • Input arguments are the same as the print arguments.
  • Example:
in name < "What is your name? " < green < endl
Clone this wiki locally