One thing I found out about JavaScript is, if you write recursive methods, you have to declare local variables using var. Otherwise, the local variables are static, which produces some very confusing results.

Todd.

----- Original Message ----- From: "Neven MacEwan" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Monday, July 31, 2006 12:16 PM
Subject: Re: [DUG] Coding accross languages


Guys

One of the things I like about the PHP/Javascript combo is the
similarity of syntax (and things like not declaring vars) so i can
switch easily, I must be getting old because it takes me a while (and
several coffees to switch between php/js and delphi)

One thing I found out (totally by accident) is that MS SQL TransactSQL
ignores ";"

Neven

Phil Middlemiss wrote:
Me too.

Just about every time I switch to using Eclipse I try to do a selection
drag and drop - and then groan as I remember it doesn't support text
drag and drop. Even worse, I use Coderush in Delphi6 and really miss the
flexibility it gives you - like dropping markers that you can
immediately jump back to with Esc - hell, I'd even settle for being able
to drop bookmarks that you can jump back to with Ctrl+#.

With Javascript, apart from the := assignment mistake, the other one I'm
always doing is forgetting to put brackets around the boolean test for
if..then and while loops.

Phil.

Paul A Norman wrote:
Same here.

Sometimes i find myself thinking how is "that" done here and then you
realise it is not deon at all!


On 29/07/06, *James Sugrue* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

    My major one is wishing features from one  language was included
    in the one I'm working on at the time.



    *From:* [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    [mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>] *On Behalf Of *Paul A Norman
    *Sent:* Saturday, 29 July 2006 3:06 p.m.
    *To:* NZ Borland Developers Group - Delphi List
    *Subject:* [DUG] Coding accross languages



    How do people find the whole thing of working with Delphi and then
    several other languages in the same day?



    Do you ever ocassionally go to do an assignment in clientside
    JavaScript as



            something := somethingElse;



    Or            if (this = that) {whatever;}



    And end up staring at the error report unable to see what could be
    wrong?

    :-)



    Paul


    _______________________________________________
    Delphi mailing list
    [email protected] <mailto:[email protected]>
    http://ns3.123.co.nz/mailman/listinfo/delphi



------------------------------------------------------------------------

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

--
Neven MacEwan (B.E. E&E)
Ph. 09 620 1356 Mob. 027 4749 062

New Address Details
===================
MWK Computer Systems
1 Taumata Rd
Sandringham
Auckland

Ph 620 1356
Fx 620 1336



--------------------------------------------------------------------------------


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 26/07/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 26/07/2006

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to