Re: String?
I think that the string type would be very useful.
It would be good if it could be implimented much like this:
string myStr
sequence mySeq
myStr = "John"
myStr = {74,111,104,110}
myStr &= get_key()
if myStr = "John" then --this could be invaluable, I hate having to
type equal()
mySeq = "John" -- should still display as {74,111,104,110}
because it is declared as a string, it doesnt matter how you assign it,
it will always be shown as a string.. By the same token, you should
still be able to assign double quotes to a sequence, only it is
displayed as integers.
if you ever see the need to output the integer values of a string, or
vice versa, then you could just assign it to the relevant data type, or
have a VB style CStr() or CSeq() function.
The major problem i have with sequences is the fact that you need to use
equal() for simple strings.
StewartML,
Scotland
|
Not Categorized, Please Help
|
|