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


Groups > comp.lang.javascript > #19904

Can somebody explain this short code

From "Tony" <tony.johansson@inport.com>
Newsgroups comp.lang.javascript
Subject Can somebody explain this short code
Date 2013-05-23 12:01 +0200
Organization A noiseless patient Spider
Message-ID <knkp6o$sov$1@dont-email.me> (permalink)

Show all headers | 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