Rebol 编程/flash
外观
< Rebol 编程
FLASH val /with face /offset xy
向用户闪烁一条消息并继续。
FLASH 是一个函数值。
- val -- (类型:任何)
- /with
- face -- 在此面之上居中 (类型:任何)
- /offset
- xy -- (类型:任何)
flash: func [ "Flashes a message to the user and continues." val /with face "Center over this face" /offset xy ][ val: layout [ origin 10x10 image info.gif origin 62x24 text bold form val 200x-1 origin 20x20 ] val/text: "Information" either offset [val/offset: xy] [ center-face val if with [center-face/with val face] ] view/new val val ]