Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

action function

 [1/5] from: rotenca::telvia::it at: 20-Jul-2001 18:56


1) What is the number returned by action function?
>> second :equal?
== 11 2) I repeat my question: am I the only one who has the words Face and Sound protected by default in Rebol View? --- Saluti Romano Paolo Tenca

 [2/5] from: arolls:bigpond:au at: 21-Jul-2001 5:10


No.

 [3/5] from: g:santilli:tiscalinet:it at: 21-Jul-2001 15:43


Hello Romano! On 20-Lug-01, you wrote: RT> 1) What is the number returned by action function? RT>>> second :equal? RT> == 11 I noticed this some time back (maybe you'll find my message on some list archive too...). I suppose that datatypes have an action table and that that number is an index in that table. RT> 2) I repeat my question: RT> am I the only one who has the words Face and Sound protected RT> by default in Rebol View? They are protected here too. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [4/5] from: arolls:bigpond:au at: 22-Jul-2001 3:50


You could list all the action types with: ? action! then go through each one, getting the ... ... it's faster in rebol: ; save output of help echo %actions help action! echo none ; go through each line of the above created file foreach line next read/lines %actions [ act: to-word first parse line "" ; get the word print [second get act tab act] ; print word and number ] ; now see if there are any collisions - are all action numbers unique, can be evidence to suggest that it's an index. :) Anton.

 [5/5] from: rotenca:telvia:it at: 22-Jul-2001 0:34


Gabriele Santilli <[g--santilli--tiscalinet--it]>
> Hello Romano!
Hello!
> I noticed this some time back (maybe you'll find my message on > some list archive too...). I suppose that datatypes have an action table > and that that number is an index in that table.
Understood.
> RT> 2) I repeat my question: > RT> am I the only one who has the words Face and Sound protected > RT> by default in Rebol View? > > They are protected here too.
Well, i must not search the reason in my system...
> Regards, > Gabriele.
ciao romano