[ALLY] Getting 'elp to work on function inside object
From: al:bri:xtra at: 8-Sep-2000 22:06
I'm going Cockney about help. - Andrew Martin. ;-)
> In general though I think there should be a more simple way of accessing
help for words defined in dialects.
Dialect words can be defined nicely inside objects.
>> o: make object! [
[ f: func [
[ "A sample function in a dialect object."
[ arg [word!]
[ print mold arg
>> help o
O is an object of value:
make object! [
f: func [
"A sample function in a dialect object."
print mold arg
>> help o/f
o/f is a path
Note the above is not helpful! Though understandable when the source for
help is viewed.
>> z: get in o 'f
>> help z
A sample function in a dialect object.
Z is a function value.
arg -- (Type: word)
Any one want to write up an alteration to 'help, so that it works with
objects and functions in that object as a novice might expect?