REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 8-Feb-2009 Edit History  

REBOL 3 Usage: Command Prompt

The default command line prompt is ">>". You can change the prompt with code such as:

system/console/prompt: "Input: "
Input:

The prompt can be a block that is evaluated each time. This line prints the current time:

system/console/prompt: [reform [now/time " >> "]]
10:30 >>


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin