< Rebol Programming

USAGE:

VBUG msg 

DESCRIPTION:

(undocumented)

VBUG is a function value.

ARGUMENTS

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

SOURCE CODE

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]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.