Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19904

Can somebody explain this short code

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From "Tony" <tony.johansson@inport.com>
Newsgroups comp.lang.javascript
Subject Can somebody explain this short code
Date Thu, 23 May 2013 12:01:50 +0200
Organization A noiseless patient Spider
Lines 1
Message-ID <knkp6o$sov$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
Injection-Date Thu, 23 May 2013 09:57:44 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="04290fff4557273ca84c3ad616751e0b"; logging-data="29471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TpYdGy8gQ0Hb6m6HuG5XIhTbYQ3/TWLI="
X-MimeOLE Produced By Microsoft MimeOLE V15.4.3555.308
X-Newsreader Microsoft Windows Live Mail 15.4.3555.308
Importance Normal
Cancel-Lock sha1:cqs8Wy9XwHg0YgUBcPLRV+fA/yY=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.lang.javascript:19904

Show key headers only | View raw


Note this code is autogenerated
What I don't understand is this
How is it possible to call function  dsFrsvoyage_ttFrsvoyage when the 
signature doesn't match.
The function  dsFrsvoyage_ttFrsvoyage doesn't any argument but you can call 
it with an argument.


function dsFrsvoyage()
{
    this.ttFrsvoyage = new Array(1);
    this.ttFrsvoyage[0] = new dsFrsvoyage_ttFrsvoyage(1);
}

function dsFrsvoyage_ttFrsvoyage()
{
    this.Vesselid = "";
    this.Arrtime = null;
    this.Deptime = null;
    this.Objecttype = "";
    this.Dnggoods = false;
    this.prevport = "";
    this.port = "";
    this.nextport = "";
    this.VoyNum = "";
    this.done = false;
    this.sent = "";
    this.todestination = "";
    this.fromdestination = "";
    this.Remark = "";
    this.errstat = "";
    this.cancelled = false;
    this.Sendstat = "";
    this.Objectid = 0;
    this.UID = "";
    this.UIDDATE = null;
    this.UIDTIME = "";
    this.UIDPGM = "";
    this.Z_Seq = 0;
    this.MISC1 = "";
    this.MISC2 = "";
    this.MISC3 = "";
    this.UIDsign = "";
    this.UIDupdate = null;
    this.UIDuppgm = "";
    this.UIDuptime = "";
}

//Tony 

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Can somebody explain this short code "Tony" <tony.johansson@inport.com> - 2013-05-23 12:01 +0200
  Re: Can somebody explain this short code tony@mountifield.org (Tony Mountifield) - 2013-05-23 10:16 +0000

csiph-web