Script Library: 1238 scripts
 

set-prompt.r

REBOL [ Title: "REBOL Prompt Setter" Date: 16-Jun-1999 File: %set-prompt.r Author: "Bohdan Lechnowsky" Purpose: { Demonstrates how to set the prompt in REBOL } Email: %bo--rebol--com library: [ level: 'intermediate platform: none type: [tool] domain: none tested-under: none support: none license: none see-also: none ] ] ;Set system/console prompt set-console: func ['word value] [ set in system/console word value ] set-console prompt [ rejoin ["(" now/time ") " what-dir newline ">> "] ]
halt ;; to terminate script if DO'ne from webpage
Notes
  • email address(es) have been munged to protect them from spam harvesters. If you are a Library member, you can log on and view this script without the munging.
  • (bo:rebol:com)