[REBOL] Another newbie stumper
From: kpeters::mvinc::net at: 24-Feb-2004 20:50
Hi All ~
Below is a code snippet that has me stumped:
When I click the toggle, everything works fine.
However, pressing the hot key CTRL-s generates the error below -
shouldn't the hot key do exactly what a left click does?
Thansk for any help,
Kai
snip....
toggle_start: toggle 60 "Start" "Stop" mint #"^s"
[
face/color: pick reduce [ sienna mint ]
face/data
show face
scanning?: pick reduce [ yes no] face/data
]
snip....
** Script Error: pick expected index argument of type: number logic
** Where: func [face value][
face/color: pick reduce [sienna mint] face/data
show face
scanning?: pick reduce [yes no] face/data
]
** Near: face/color: pick reduce [sienna mint] face/data