1. sequences
- Posted by =?iso-8859-2?B?qWtvZGE=?= <tone.skoda at SIOL.NET> May 23, 2000
- 519 views
how can avoid to come to that kind of complicated thing in my program: ]] [1]
2. sequences
- Posted by Tony Steward <figjam at nlc.net.au> Aug 30, 2000
- 478 views
- Last edited Aug 31, 2000
------=_NextPart_000_0007_01C012CA.91760AE0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have a sequnce called "data" and another sequence called "newdata" data =3D {{"Primary Key","TOY43","Silca"}, {"Secondary = Key","TOY44","Silca"}} new data =3D {"Fuel Key","FK1","Silca"} How can I add newdata to data to get the sequence data to be as follows {{"Primary Key","TOY43","Silca"}, {"Secondary = Key","TOY44","Silca"},{"Fuel Key","FK1","Silca"}} Perhaps using the "append" feature. If so how? ------=_NextPart_000_0007_01C012CA.91760AE0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I have a sequnce called "data" and = another sequence=20 called "newdata"</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>data =3D {{"Primary=20 Key","TOY43","Silca"},</FONT><FONT face=3DArial size=3D2> {"Secondary=20 Key","TOY44","Silca"}</FONT><FONT face=3DArial size=3D2>}</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>new data =3D {"Fuel = Key","FK1","Silca"}</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>How can I add newdata to data to get = the sequence=20 data to be as follows</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>{{"Primary Key","TOY43","Silca"},<FONT = face=3DArial=20 size=3D2> {"Secondary Key","TOY44","Silca"},{"Fuel = Key","FK1","Silca"}</FONT><FONT=20 face=3DArial size=3D2>}</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Perhaps using the "append" feature. If = so=20 ------=_NextPart_000_0007_01C012CA.91760AE0--
3. Re: sequences
- Posted by "Hawke'" <mikedeland at NETZERO.NET> Aug 30, 2000
- 474 views
------=_NextPart_000_01AB_01C0123C.043FC640 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable data =3D append(data,newdata) just that easy :) --Hawke' ----- Original Message -----=20 From: Tony Steward=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Wednesday, August 30, 2000 4:37 AM Subject: sequences Hi all, I have a sequnce called "data" and another sequence called "newdata" data =3D {{"Primary Key","TOY43","Silca"}, {"Secondary = Key","TOY44","Silca"}} new data =3D {"Fuel Key","FK1","Silca"} How can I add newdata to data to get the sequence data to be as = follows {{"Primary Key","TOY43","Silca"}, {"Secondary = Key","TOY44","Silca"},{"Fuel Key","FK1","Silca"}} Perhaps using the "append" feature. If so how? ------=_NextPart_000_01AB_01C0123C.043FC640 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>data =3D = append(data,newdata)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>just that easy :)</FONT></DIV> <DIV><FONT face=3DArial size=3D2>--Hawke'</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A href=3D"mailto:figjam at NLC.NET.AU" title=3Dfigjam at NLC.NET.AU>Tony = Steward</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20 title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, August 30, = 2000 4:37=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> sequences</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I have a sequnce called "data" and = another=20 sequence called "newdata"</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>data =3D {{"Primary=20 Key","TOY43","Silca"},</FONT><FONT face=3DArial size=3D2> {"Secondary=20 Key","TOY44","Silca"}</FONT><FONT face=3DArial size=3D2>}</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>new data =3D {"Fuel=20 Key","FK1","Silca"}</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>How can I add newdata to data to get = the sequence=20 data to be as follows</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>{{"Primary = Key","TOY43","Silca"},<FONT face=3DArial=20 size=3D2> {"Secondary Key","TOY44","Silca"},{"Fuel=20 Key","FK1","Silca"}</FONT><FONT face=3DArial = size=3D2>}</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Perhaps using the "append" feature. = If so=20 ------=_NextPart_000_01AB_01C0123C.043FC640--
4. Re: sequences
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Aug 30, 2000
- 463 views
Hello, Hawke' suggested: data = append(data,newdata) another solution would be data &= {newdata} Slightly shorter and maybe more readable. I don't know about speed but would assume that &= would be faster than append () just another suggestion, Lewis Townsend _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
5. Re: sequences
- Posted by irv <irv at ELLIJAY.COM> Aug 30, 2000
- 500 views
- Last edited Aug 31, 2000
--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Transfer-Encoding: 8bit On Wed, 30 Aug 2000, Lewis wrote: > Hawke' suggested: > data = append(data,newdata) > > another solution would be > data &= {newdata} > > Slightly shorter and maybe more readable. I don't > know about speed but would assume that &= would be > faster than append () Several runs gave pretty consistently the following numbers: ET 0.99 (append) ET 1.44 ( &-{}) -- Regards, Irv --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD name="test8.exu"
6. Re: sequences
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Aug 31, 2000
- 482 views
Hello, >Several runs gave pretty consistently the following numbers: >ET 0.99 (append) >ET 1.44 ( &-{}) Hmm, that's interesting. I would have thought that an operator doing a similar activity as a function would be faster because of the routine calling overhead. Maybe Rob C can clear this up? I use the &={} construct a lot becuase it is quicker to type and also assumed that it would be faster than a function call. later, Lewis Townsend _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.