View in color | License | Download script | History | Other scripts by: bohdan |
9-Oct 21:52 UTC
[0.053] 10.529k
[0.053] 10.529k
set-prompt.rREBOL [
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 ">> "]
] Notes
|