Rebol 编程/ask
外观
< Rebol 编程
ASK question /hide
向用户询问输入。
ASK 是一个函数值。
- question -- 提示用户(类型:序列)
- /hide -- 使用 * 掩盖输入
ask: func [
"Ask the user for input."
question [series!] "Prompt to user"
/hide "mask input with *"
][
prin question
trim either hide [input/hide] [input]
]