Global functions


Table of Contents

1. New global functions in Rebol 1.2.10.3.1 (from 1.2.8.3.1)
      1.1. create-link
      1.2. create-reg
      1.3. decloak
      1.4. delete-reg
      1.5. eighth
      1.6. encloak
      1.7. exists-reg?
      1.8. free-boot
      1.9. get-env
      1.10. get-reg
      1.11. license
      1.12. list-reg
      1.13. native
      1.14. ninth
      1.15. set-browser-path
      1.16. set-reg
      1.17. seventh
      1.18. sixth
      1.19. stats
      1.20. tenth
      1.21. to-action
      1.22. to-any-block
      1.23. to-any-function
      1.24. to-any-string
      1.25. to-any-type
      1.26. to-any-word
      1.27. to-context
      1.28. to-datatype
      1.29. to-end
      1.30. to-error
      1.31. to-function
      1.32. to-library
      1.33. to-native
      1.34. to-number
      1.35. to-object
      1.36. to-op
      1.37. to-port
      1.38. to-routine
      1.39. to-series
      1.40. to-struct
      1.41. to-symbol
      1.42. to-unset
      1.43. unset-reg-funcs
2. Lost global functions in Rebol 1.2.10.3.1 (from 1.2.8.3.1)
      2.1. boot-prefs
      2.2. get-net-info
      2.3. load-prefs
      2.4. reboot
      2.5. save-prefs
      2.6. set-user
      2.7. uninstall
      2.8. unset-internal-words
      2.9. view-prefs
      2.10. view?



1. New global functions in Rebol 1.2.10.3.1 (from 1.2.8.3.1)


1.1. create-link

USAGE:

CREATE-LINK source dest /start dir /note desc /args arg-str
DESCRIPTION:

Creates file links. 
CREATE-LINK is a native value.
ARGUMENTS:

source -- File to link to (Type: string file)
dest -- Name for new link (Type: string file)
REFINEMENTS:

/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)


1.2. create-reg

USAGE:

CREATE-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Creates a registry key and returns TRUE on success. (HKCU is default) 
CREATE-REG is a native value.
ARGUMENTS:

key-path -- (Type: string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.3. decloak

USAGE:

DECLOAK data key /with
DESCRIPTION:

Descrambles the string scrambled by encloak. 
DECLOAK is a native value.
ARGUMENTS:

data -- String to descramble (modified) (Type: any-string)
key -- Key to use (Type: any-string)
REFINEMENTS:

/with -- Use key as-is (for speed, no hashing)


1.4. delete-reg

USAGE:

DELETE-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Deletes a registry key. Returns TRUE if deleted. (HKCU is default) 
DELETE-REG is a native value.
ARGUMENTS:

key-path -- (Type: string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.5. eighth

USAGE:

EIGHTH series
DESCRIPTION:

Returns the eight value of a series. 
EIGHTH is an action value.
ARGUMENTS:

series -- (Type: series port tuple)


1.6. encloak

USAGE:

ENCLOAK data key /with
DESCRIPTION:

Scrambles a string or binary based on a key. 
ENCLOAK is a native value.
ARGUMENTS:

data -- String to scramble (modified) (Type: any-string)
key -- Key to use (Type: any-string)
REFINEMENTS:

/with -- Use key as-is (for speed, no hashing)


1.7. exists-reg?

USAGE:

EXISTS-REG? key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Returns TRUE if registry key exists. (HKCU is default) 
EXISTS-REG? is a native value.
ARGUMENTS:

key-path -- (Type: string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.8. free-boot

USAGE:

FREE-BOOT
DESCRIPTION:

Called by any code that takes over bootstrap. 
FREE-BOOT is a function value.


1.9. get-env

USAGE:

GET-ENV var
DESCRIPTION:

Gets the value of an operating system environment variable. 
GET-ENV is a native value.
ARGUMENTS:

var -- Variable to lookup (Type: string)


1.10. get-reg

USAGE:

GET-REG key-path id /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Returns value of a registry key, else NONE. (HKCU is default) 
GET-REG is a native value.
ARGUMENTS:

key-path -- (Type: string)
id -- (Type: string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.11. license

USAGE:

LICENSE
DESCRIPTION:

Prints the REBOL/core license agreement. 
LICENSE is a function value.


1.12. list-reg

USAGE:

LIST-REG key-path /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Returns a block of sub-keys for a registry key. (HKCU is default) 
LIST-REG is a native value.
ARGUMENTS:

key-path -- (Type: string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.13. native

USAGE:

NATIVE spec
DESCRIPTION:

(undocumented)
ARGUMENTS:

spec -- (Type: block)


1.14. ninth

USAGE:

NINTH series
DESCRIPTION:

Returns the ninth value of a series. 
NINTH is an action value.
ARGUMENTS:

series -- (Type: series port tuple)


1.15. set-browser-path

USAGE:

SET-BROWSER-PATH value
DESCRIPTION:

Path to default web browser. 
SET-BROWSER-PATH is a native value.
ARGUMENTS:

value -- The shell call string (Type: any-string)


1.16. set-reg

USAGE:

SET-REG key-path id value /hkcr /hkcu /hklm /hku /hkcc /hkdd
DESCRIPTION:

Sets registry key value. Returns value on success, else NONE. (HKCU is default) 
SET-REG is a native value.
ARGUMENTS:

key-path -- (Type: string)
id -- (Type: string)
value -- (Type: any-string)
REFINEMENTS:

/hkcr
/hkcu
/hklm
/hku
/hkcc
/hkdd


1.17. seventh

USAGE:

SEVENTH series
DESCRIPTION:

Returns the seventh value of a series. 
SEVENTH is an action value.
ARGUMENTS:

series -- (Type: series port tuple event)


1.18. sixth

USAGE:

SIXTH series
DESCRIPTION:

Returns the sixth value of a series. 
SIXTH is an action value.
ARGUMENTS:

series -- (Type: series port tuple event)


1.19. stats

USAGE:

STATS /pools /types /series /frames /recycle
DESCRIPTION:

System statistics.  Default is to return total memory used. 
STATS is a native value.
REFINEMENTS:

/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


1.20. tenth

USAGE:

TENTH series
DESCRIPTION:

Returns the tenth value of a series. 
TENTH is an action value.
ARGUMENTS:

series -- (Type: series port tuple)


1.21. to-action

USAGE:

TO-ACTION value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.22. to-any-block

USAGE:

TO-ANY-BLOCK value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.23. to-any-function

USAGE:

TO-ANY-FUNCTION value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.24. to-any-string

USAGE:

TO-ANY-STRING value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.25. to-any-type

USAGE:

TO-ANY-TYPE value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.26. to-any-word

USAGE:

TO-ANY-WORD value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.27. to-context

USAGE:

TO-CONTEXT value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.28. to-datatype

USAGE:

TO-DATATYPE value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.29. to-end

USAGE:

TO-END value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.30. to-error

USAGE:

TO-ERROR value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.31. to-function

USAGE:

TO-FUNCTION value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.32. to-library

USAGE:

TO-LIBRARY value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.33. to-native

USAGE:

TO-NATIVE value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.34. to-number

USAGE:

TO-NUMBER value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.35. to-object

USAGE:

TO-OBJECT value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.36. to-op

USAGE:

TO-OP value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.37. to-port

USAGE:

TO-PORT value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.38. to-routine

USAGE:

TO-ROUTINE value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.39. to-series

USAGE:

TO-SERIES value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.40. to-struct

USAGE:

TO-STRUCT value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.41. to-symbol

USAGE:

TO-SYMBOL value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.42. to-unset

USAGE:

TO-UNSET value
DESCRIPTION:

(undocumented)
ARGUMENTS:

value -- (Type: any)


1.43. unset-reg-funcs

USAGE:

UNSET-REG-FUNCS
DESCRIPTION:

(undocumented)



2. Lost global functions in Rebol 1.2.10.3.1 (from 1.2.8.3.1)


2.1. boot-prefs


2.2. get-net-info


2.3. load-prefs


2.4. reboot


2.5. save-prefs


2.6. set-user


2.7. uninstall


2.8. unset-internal-words


2.9. view-prefs


2.10. view?


Copyright Romano Paolo Tenca. All Rights Reserved.
Formatted with REBOL Make-Doc 0.9.4.2 on 31-Oct-2003 at 18:35