Table of Contents
1. New global functions in Rebol 1.2.10.3.1 (from 1.2.1.3.1)
1.1. as-pair
1.2. attempt
1.3. brightness?
1.4. build-attach-body
1.5. build-markup
1.6. component?
1.7. construct
1.8. create-link
1.9. create-reg
1.10. decloak
1.11. delete-reg
1.12. dump-obj
1.13. eighth
1.14. encloak
1.15. exists-reg?
1.16. free-boot
1.17. get-env
1.18. get-reg
1.19. license
1.20. link-relative-path
1.21. list-reg
1.22. local-request-file
1.23. native
1.24. ninth
1.25. notify
1.26. remove-each
1.27. run
1.28. scroll-drag
1.29. set-browser-path
1.30. set-reg
1.31. seventh
1.32. sign?
1.33. sixth
1.34. stats
1.35. suffix?
1.36. tenth
1.37. to-action
1.38. to-any-block
1.39. to-any-function
1.40. to-any-string
1.41. to-any-type
1.42. to-any-word
1.43. to-context
1.44. to-datatype
1.45. to-end
1.46. to-error
1.47. to-function
1.48. to-library
1.49. to-native
1.50. to-number
1.51. to-object
1.52. to-op
1.53. to-port
1.54. to-routine
1.55. to-series
1.56. to-struct
1.57. to-symbol
1.58. to-unset
1.59. unset-reg-funcs
2. Lost global functions in Rebol 1.2.10.3.1 (from 1.2.1.3.1)
2.1. boot-prefs
2.2. demo
2.3. exists-key?
2.4. get-net-info
2.5. load-prefs
2.6. reboot
2.7. save-prefs
2.8. set-user
2.9. uninstall
2.10. view-install
2.11. view-prefs
2.12. view?
USAGE:
DESCRIPTION:AS-PAIR x y
ARGUMENTS:Combine X and Y values into a pair. AS-PAIR is a function value.
x -- (Type: number) y -- (Type: number)
USAGE:
DESCRIPTION:ATTEMPT value
ARGUMENTS:Tries to evaluate and returns result or NONE on error. ATTEMPT is a function value.
value -- (Type: any)
USAGE:
DESCRIPTION:BRIGHTNESS? color
ARGUMENTS:Returns the monochrome brightness (0.0 to 1.0) for a color value. BRIGHTNESS? is a function value.
color -- (Type: tuple)
USAGE:
DESCRIPTION:BUILD-ATTACH-BODY body files boundary
ARGUMENTS:Return an email body with attached files. BUILD-ATTACH-BODY is a function value.
body -- The message body (Type: string) files -- List of files to send [%file1.r [%file2.r "data"]] (Type: block) boundary -- The boundary divider (Type: string)
USAGE:
DESCRIPTION:BUILD-MARKUP content /quiet
ARGUMENTS:Return markup text replacing <%tags%> with their evaluated results. BUILD-MARKUP is a function value.
REFINEMENTS:content -- (Type: string file url)
/quiet -- Do not show errors in the output.
USAGE:
DESCRIPTION:COMPONENT? name
ARGUMENTS:Returns specific REBOL component info if enabled. COMPONENT? is a function value.
name -- (Type: word)
USAGE:
DESCRIPTION:CONSTRUCT block /with object
ARGUMENTS:Creates an object, but without evaluating its specification. CONSTRUCT is a native value.
REFINEMENTS:block -- Object specification block (Type: block)
/with -- Provide a default base object object -- (Type: object)
USAGE:
DESCRIPTION:CREATE-LINK source dest /start dir /note desc /args arg-str
ARGUMENTS:Creates file links. CREATE-LINK is a native value.
REFINEMENTS:source -- File to link to (Type: string file) dest -- Name for new link (Type: string file)
/start dir -- Directory to start in (Windows) (Type: string file) /note desc -- Link description text (Windows) (Type: string) /args arg-str -- Provide command arguments (Type: string none)
USAGE:
DESCRIPTION:CREATE-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Creates a registry key and returns TRUE on success. (HKCU is default) CREATE-REG is a native value.
REFINEMENTS:key-path -- (Type: string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:DECLOAK data key /with
ARGUMENTS:Descrambles the string scrambled by encloak. DECLOAK is a native value.
REFINEMENTS:data -- String to descramble (modified) (Type: any-string) key -- Key to use (Type: any-string)
/with -- Use key as-is (for speed, no hashing)
USAGE:
DESCRIPTION:DELETE-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Deletes a registry key. Returns TRUE if deleted. (HKCU is default) DELETE-REG is a native value.
REFINEMENTS:key-path -- (Type: string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:DUMP-OBJ obj /match pat
ARGUMENTS:Returns a block of information about an object. DUMP-OBJ is a function value.
REFINEMENTS:obj -- (Type: object)
/match -- Include only those that match a string or datatype pat -- (Type: any)
USAGE:
DESCRIPTION:EIGHTH series
ARGUMENTS:Returns the eight value of a series. EIGHTH is an action value.
series -- (Type: series port tuple)
USAGE:
DESCRIPTION:ENCLOAK data key /with
ARGUMENTS:Scrambles a string or binary based on a key. ENCLOAK is a native value.
REFINEMENTS:data -- String to scramble (modified) (Type: any-string) key -- Key to use (Type: any-string)
/with -- Use key as-is (for speed, no hashing)
USAGE:
DESCRIPTION:EXISTS-REG? key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Returns TRUE if registry key exists. (HKCU is default) EXISTS-REG? is a native value.
REFINEMENTS:key-path -- (Type: string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:FREE-BOOT
Called by any code that takes over bootstrap. FREE-BOOT is a function value.
USAGE:
DESCRIPTION:GET-ENV var
ARGUMENTS:Gets the value of an operating system environment variable. GET-ENV is a native value.
var -- Variable to lookup (Type: string)
USAGE:
DESCRIPTION:GET-REG key-path id /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Returns value of a registry key, else NONE. (HKCU is default) GET-REG is a native value.
REFINEMENTS:key-path -- (Type: string) id -- (Type: string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:LICENSE
Prints the REBOL/core license agreement. LICENSE is a function value.
USAGE:
DESCRIPTION:LINK-RELATIVE-PATH file
ARGUMENTS:Remove link-root from a file path LINK-RELATIVE-PATH is a function value.
file -- (Type: any)
USAGE:
DESCRIPTION:LIST-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Returns a block of sub-keys for a registry key. (HKCU is default) LIST-REG is a native value.
REFINEMENTS:key-path -- (Type: string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:LOCAL-REQUEST-FILE parms
ARGUMENTS:Creates an OS-specific file requester LOCAL-REQUEST-FILE is a native value.
parms -- Parameter block (Type: block)
USAGE:
DESCRIPTION:NATIVE spec
ARGUMENTS:(undocumented)
spec -- (Type: block)
USAGE:
DESCRIPTION:NINTH series
ARGUMENTS:Returns the ninth value of a series. NINTH is an action value.
series -- (Type: series port tuple)
USAGE:
DESCRIPTION:NOTIFY str
ARGUMENTS:Flashes an informational message to the user. Waits for a user response. NOTIFY is a function value.
str -- (Type: any)
USAGE:
DESCRIPTION:REMOVE-EACH 'word data body
ARGUMENTS:Removes a value from a series for each block that returns TRUE. REMOVE-EACH is a native value.
word -- Word or block of words to set each time (will be local) (Type: get-word word block) data -- The series to traverse (Type: series) body -- Block to evaluate. Return TRUE to remove. (Type: block)
USAGE:
DESCRIPTION:RUN file /as suffix
ARGUMENTS:Runs the system application associated with a file. RUN is a native value.
REFINEMENTS:file -- The file to open (file, URL) or command to run (string). (Type: file url string)
/as suffix -- (Type: string file)
USAGE:
DESCRIPTION:SCROLL-DRAG face /back /page
ARGUMENTS:Move the scroller drag bar SCROLL-DRAG is a function value.
REFINEMENTS:face -- the scroller to modify (Type: any)
/back -- move backward /page -- move each time by one page
USAGE:
DESCRIPTION:SET-BROWSER-PATH value
ARGUMENTS:Path to default web browser. SET-BROWSER-PATH is a native value.
value -- The shell call string (Type: any-string)
USAGE:
DESCRIPTION:SET-REG key-path id value /hkcr /hkcu /hklm /hku /hkcc /hkdd
ARGUMENTS:Sets registry key value. Returns value on success, else NONE. (HKCU is default) SET-REG is a native value.
REFINEMENTS:key-path -- (Type: string) id -- (Type: string) value -- (Type: any-string)
/hkcr /hkcu /hklm /hku /hkcc /hkdd
USAGE:
DESCRIPTION:SEVENTH series
ARGUMENTS:Returns the seventh value of a series. SEVENTH is an action value.
series -- (Type: series port tuple event)
USAGE:
DESCRIPTION:SIGN? number
ARGUMENTS:Returns sign of number as 1, 0, or -1 (to use as multiplier). SIGN? is a function value.
number -- (Type: number money time)
USAGE:
DESCRIPTION:SIXTH series
ARGUMENTS:Returns the sixth value of a series. SIXTH is an action value.
series -- (Type: series port tuple event)
USAGE:
DESCRIPTION:STATS /pools /types /series /frames /recycle
REFINEMENTS:System statistics. Default is to return total memory used. STATS is a native value.
/pools -- Returns: width units free-units units-per-alloc segments mem-in-use /types -- Returns: Datatype count /series -- Returns: total blocks strings other avail free expansions /frames -- Returns: total used unused free values-total /recycle -- Returns: count series-total series-last frames-total frames-last ballast
USAGE:
DESCRIPTION:SUFFIX? path
ARGUMENTS:Return the suffix (ext) of a filename or url, else NONE. SUFFIX? is a function value.
path -- (Type: any-string)
USAGE:
DESCRIPTION:TENTH series
ARGUMENTS:Returns the tenth value of a series. TENTH is an action value.
series -- (Type: series port tuple)
USAGE:
DESCRIPTION:TO-ACTION value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ANY-BLOCK value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ANY-FUNCTION value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ANY-STRING value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ANY-TYPE value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ANY-WORD value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-CONTEXT value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-DATATYPE value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-END value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ERROR value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-FUNCTION value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-LIBRARY value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-NATIVE value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-NUMBER value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-OBJECT value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-OP value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-PORT value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-ROUTINE value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-SERIES value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-STRUCT value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-SYMBOL value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:TO-UNSET value
ARGUMENTS:(undocumented)
value -- (Type: any)
USAGE:
DESCRIPTION:UNSET-REG-FUNCS
(undocumented)