REBOL Programming/vbug

USAGE:Edit

VBUG msg 

DESCRIPTION:Edit

(undocumented)

VBUG is a function value.

ARGUMENTSEdit

  • msg -- (Type: block any-string)

SOURCE CODEEdit

vbug: func [msg [block! any-string!] /local dbg][
    if not dbg: user-prefs/debug [exit] 
    msg: head insert remold msg "view " 
    either file? dbg [write/append dbg msg] [print msg]
]
Last modified on 13 November 2012, at 10:43