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

[REBOL] Re: action function

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.