Interesting question.

Tag! and Issue! might be useful for your design but both will not be
able to handle certain characters. I figured I could write some code to
show what they are: 

chars-in-form: function [
    example-form [block!]
] [all-chars useable-chars ch test-value] [
    all-chars: copy {}
    useable-chars: copy {}
    repeat i 255 [
        append all-chars ch: to-char i
        if all [
            not error? try [test-value: load rejoin example-form]
            1 = length? test-value
            ch = first test-value
        ] [append useable-chars ch]
    ]
    exclude all-chars useable-chars
]

print mold chars-in-form [#"#" ch]
print mold chars-in-form [#"<" ch #">"]

Regards,
Brett.

> > Though it'd probably be better round the other way.  What would be the
> > best string datatype for such a job?
> 
> It's not immediately obvious to me.  Maybe something will become obvious
> with some thought.
> --Scott Jones


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to