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

[REBOL] Re: Input validation routines

From: robert:muench:robertmuench at: 27-Aug-2003 14:18

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of [SunandaDH--aol--com] > Sent: Wednesday, August 27, 2003 8:54 AM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Input validation routines > Not as ambitious as that, but I did write this basic > validation function that will check a field against a list of types:
Thanks for the input. This might help to convert input data into a Rebol conform way for storing. How about the other way? For example: In a field only month and year should be entered. I'm going to convert it into a 'date!, where a day is added. Now I want to output this data in the form month/year. I can imagine a rountine like yours, where I specify a handler for each datatype that than gets called. Robert