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

[REBOL] Re: File-modes on different platforms

From: anton:lexicon at: 26-May-2002 15:41

Each of the file-modes have (so far) four different datatypes. I am mapping each of the different datatypes, (so far: date!, logic!, string! integer!) to different user interface gadgetry. ie. date! and string! types cause a field to be added, but a logic! causes a check to be added to the layout. You get it now? If my code gets a none!, how is it supposed to know what type of gadgets to add to the layout to edit that file-mode? No big deal, I have added a special check for amiga's comment file-mode. It's just that I would prefer not to have OS specific code in my program. Anton.