Re: how to convert datatypes ?
Posted in 1996
Michael Agbaglo wrote:
>
> "Billy Wheeler" <billy@west.co.za> schrieb im Beitrag > <581085$nbg@cssun.mathcs.emory.edu>...
> > On 2 Dec 96 at 19:25, Michael Agbaglo (Mr Aggression) wrote:
> >
> > > create procedure foo() > > > define i integer;
> > > define s string;
> > >
> > > let s = "asdfsa" + i + "dsgdfsg";
> >
> > How about:
> > LET s = "asdfsa" || i || "dsgdfsg";
> > ???
> How about putting 'string', 'conversion' and other fine things in the index
> ?
Because there is no conversion to do. The word you need is 'concatenation',
as in 'string concatenation'. Gees, the concatenation operator (||) is even
given to you in the index, you don't even need to look up the page
reference!
How about you go on a training course? ;-)
> Don't like Informix' Easter Mode - don't wan't to search eggs !
What??? Helloooo, (knock, knock, knock)..... :-)
--
Mark.
+-------------------------------------------------------------------------+
|Mark D. Stock - The West Solutions Group http://www.west.co.za |
| The Informix FAQ is at http://www.iiug.org |
|mailto:marks@west.co.za +------------------------------------------------+
|Tel: +27 11 803 2151 |If it doesn't work... force it! |
|Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! |
|Cell: +27 83 250 2325 |Well, that's how I code anyway! |
+------------------------+------------------------------------------------+