Greg Haberek <ghaberek at gmail.com> 2004.12.22. 14:56:42 -5h-kor =EDrta:
>
> > seq={{52,49,53},"415"}
>
> > "415" <-- I'd like hier to see: {52,49,53}
> > "415"
>
> Unfortunately, {52,49,53} and "415" are the same internally (to the
> interpreter). You have to determine when a sequence is a string and
> when it is plain data. You'd have to do something like this:
>
> }}}
<eucode>
> sequence a
>=20
> a = {52,49,53}
>=20
> print(1, a) -- outputs {52,49,53}
> printf(1, "%s", {a}) -- outputs "415"
>=20
> </eucode>
{{{
Thanks, but I know this.
When I reed for example an edb, I do'nt know so that=20
{52,49,53} is data sequence or string. It is not equal.
I think it would be good, if were in euphoria string type (not user type!)=
.
Attila Kondor
--
|
Not Categorized, Please Help
|
|