[REBOL] New Type of Variable
From: info:id-net:ch at: 19-Apr-2002 10:28
I want to know if someone has an idea how to add some datatypes.
I like the idea of having for the pair datatype the /path 1 and 2
to extract the first and second part of the pair, besides the X. Same thing
time datatype, with /minute and hour refinement. Is it possible to make it
the same easily for other "string".
I.e. it should be interesting of having a x-number of part of a string
separated by a
symbol : 34,45,34,67,45,56 This "datatype" would be access like that :
thestring/6 and the result will 45..
And the modification will be easy, too thestring/6: 23
The long introduction to say that I often use the parse and the join
function to parse a string and then to rejoin only to change some of its
If someone has a easy and reliable method to "add datatype" or something