Hallo All,

Is there a way to 'pick on bitsets?

Im looking for a way to select a range or a single character from a bitset on a 
specific location,
but i can emagine that the 'bitset does not do serie handing the way series does.

I thought bitsets where smaler (and quicker using parsing) , but i can emagine using 
a normal string range would even do the trick as quick as well? (which im currently 
using in my program)

A simple example to visualise the problem..

;;; example 1

t1: charset [ #"a" - #"q" #"x" - #"z" ]
t2: charset [ #"A" - #"Q" #"t" - #"v" ]

pick t2 index? find t1 #"x"

;;; example 2

t1: charset "KHEWWKJEWBLKUWEOFBIYTEWQFBOYTEWUEQIUFBITWQUFB" 
t2: charset "QWEIRLUYQWIURYLQWUYREOIWQUYROIQUWYEOIRUYWQEOI"

pick t2 index? find t1 #"x"


The above does not work ... But is there a way to compare 2 bitsets ranges
with eachother, using parse perhpas?, like the above, but without ..union..etc...?


Regards,
Norman.

-- 
Conversation/lunch: "How do you Eat your Rebol in the Morning?" 






-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to