Title: RE: a few very simple question!!!


I vote for Perl as the superior language!!!  Mine is the smallest of all and I can run it all into one long line, and compile it.  But who cares?!

Brian Curtis - BOO! Hiss! - you are not a nice person, go away!  Mr Krammerer was already an e-commerce guru while you were still messing in your drawers.  And he's funny! 

Mr Krammer, is it true that you wrote the app that eventually became Sterling's Commerce Mailbox (and is a bit of a pain in the ass as opposed to straight FTP)?

Tony Beecher
AKA "T La B"

-----Original Message-----
From: Brian Densmore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 2:33 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; 'kurt Svensson'; 'IT
Man'; 'Paul Williams'; '[EMAIL PROTECTED]'
Subject: RE: A FEW VERY SIMPLE QUESTION!!!


Well, if you're going to use an interpreted language (like JAVA) you might
as well use the most compact one. I would probably write in Python to
develop fast and port to C as time permits. Python can provide very fast
development as opposed to C, not that I am interested in starting a language
war, use whatever you're comfortable with is the bottom line. My first
language was machine code "compiled" through a GW-BASIC interpreter in
MeSsy-DOS 3.1 - that was a lot of fun ;)> ! So I tend to go for simplest to
market approach these days.

Brian Densmore

-----Original Message-----
From: Brian Curtis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 6:13 PM
To: Brian Densmore; [EMAIL PROTECTED]; 'kurt Svensson'; 'IT Man'; 'Paul
Williams'; [EMAIL PROTECTED]
Subject: RE: A FEW VERY SIMPLE QUESTION!!!


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Really, Python? Why go with an interpreted language over a
compiled--since this type of program would be used so frequently by
individuals that might not have a Python compiler?

- --Brian Curtis

- -----Original Message-----
From: Brian Densmore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 8:48 AM
To: '[EMAIL PROTECTED]'; 'kurt Svensson'; '[EMAIL PROTECTED]'; 'IT
Man'; 'Paul Williams'; '[EMAIL PROTECTED]'
Subject: RE: A FEW VERY SIMPLE QUESTION!!!


I actually thought it was a worthy entry. I do agree, on the
networking
portions. Both solutions so far are lacking the actual transmission
phase.
Wasn't that part of the approximate 10 lines? I prefer C myself, or
better
yet Python.

Brian Densmore
Sr. Systems Analyst
Computech Business Solutions

- -----Original Message-----
From: Marc Semanoff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 10:34 AM
To: 'kurt Svensson'; [EMAIL PROTECTED]; IT Man; Paul Williams;
[EMAIL PROTECTED]
Subject: RE: A FEW VERY SIMPLE QUESTION!!!


First, you used multiple methods per line (bad coding practice).
Second,
where is the JAVA code?

All in all:
Interesting, but, where is the networking portion of your code?  You
only
completed a small portion of the challenge.  Care to add some
networking to
your entry and then see if your still at 10 lines?


Marc Semanoff
Defining Vision and Managing Change


- -----Original Message-----
From:   kurt Svensson [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, July 27, 2000 10:23 AM
To:     [EMAIL PROTECTED]; IT Man; Paul Williams; [EMAIL PROTECTED]
Subject:        Re: A FEW VERY SIMPLE QUESTION!!!

It could be done in 10 lines. See below implementation using our
EDI language EDI-C.

main () {
xmlelem CatName attlist (CategoryName);
xmldoc Data {CatName; };
EXEC SQL CONNECT TO :"database" USER :"someuser" USING
:"somepassword";
EXEC SQL DECLARE cur CURSOR FOR SELECT CategoryName FROM Categories;
for (integer i = 1; SQLSTATE == "00000"; ++i)
   EXEC SQL FETCH cur INTO :Data.CatName[i].#CategoryName;
xmlwrite (Data, "somefile.xml");
EXEC SQL DISCONNECT :"database";
}

Regards

Kurt Svensson

www.inobiz.se





- ------   XML/edi Group Discussion List   ------
Homepage =  http://www.XMLedi-Group.org

Unsubscribe =  send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank

Questions/requests:  [EMAIL PROTECTED]

To receive only one message per day (digest format)
send the following message to [EMAIL PROTECTED],
(leave the subject line blank)

digest xmledi-group your-email-address

To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm




- ------   XML/edi Group Discussion List   ------
Homepage =  http://www.XMLedi-Group.org

Unsubscribe =  send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank

Questions/requests:  [EMAIL PROTECTED]

To receive only one message per day (digest format)
send the following message to [EMAIL PROTECTED],
(leave the subject line blank)

digest xmledi-group your-email-address

To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOYDB+idXKV6T/lvVEQLnygCglvS9nEm6EiVqqtp8+eVzt7wLE2EAoPzO
yWg19SkmYBVXe51dD1iAbUBb
=sd5B
-----END PGP SIGNATURE-----


------   XML/edi Group Discussion List   ------
Homepage =  http://www.XMLedi-Group.org

Unsubscribe =  send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank

Questions/requests:  [EMAIL PROTECTED]

To receive only one message per day (digest format)
send the following message to [EMAIL PROTECTED],
(leave the subject line blank)

digest xmledi-group your-email-address

To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm



------ XML/edi Group Discussion List ------
Homepage http://www.XMLedi-Group.org

Unsubscribe send email to: [EMAIL PROTECTED]
Leave the subject and body of the message blank

Questions/requests: [EMAIL PROTECTED]

To receive only one message per day (digest format)
send the following message to [EMAIL PROTECTED],
(leave the subject line blank)

digest xmledi-group your-email-address

To join the XML/edi Group complete the form located at:
http://www.xmledi-group.org/xmledigroup/mail1.htm

Reply via email to