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


Groups > comp.lang.javascript > #11732

Re: Creating a variable named by function parameter?

From Tuxedo <tuxedo@mailinator.com>
Newsgroups comp.lang.javascript
Subject Re: Creating a variable named by function parameter?
Date 2012-02-12 21:47 +0100
Organization albasani.net
Message-ID <jh98gp$7vm$1@news.albasani.net> (permalink)
References <jh8ost$tsh$1@news.albasani.net> <4f37ec5b$0$6635$9b4e6d93@newsspool2.arcor-online.net> <jh909f$imr$1@news.albasani.net>

Show all headers | View raw


Tuxedo wrote:

[...]

Sorry for not being very clear, this call would within the makeup() 
function block:

nextFunction('variable_name','the_value')
}

While the next would be a separate function as in:

function nextFunction(name,value){
alert(name+'='+value)
}

Hopefully that makes a bit more sense.

Tuxedo

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


Thread

Creating a variable named by function parameter? Tuxedo <tuxedo@mailinator.com> - 2012-02-12 17:20 +0100
  Re: Creating a variable named by function parameter? Martin Honnen <mahotrash@yahoo.de> - 2012-02-12 17:44 +0100
    Re: Creating a variable named by function parameter? Tuxedo <tuxedo@mailinator.com> - 2012-02-12 19:26 +0100
      Re: Creating a variable named by function parameter? Tuxedo <tuxedo@mailinator.com> - 2012-02-12 21:47 +0100
  Re: Creating a variable named by function parameter? RobG <rgqld@iinet.net.au> - 2012-02-12 18:42 -0800
    Re: Creating a variable named by function parameter? Tuxedo <tuxedo@mailinator.com> - 2012-02-13 18:28 +0100
  Re: Creating a variable named by function parameter? Robert K Quinlivan <rquinlivan@gmail.com> - 2012-02-13 21:02 -0800
    Re: Creating a variable named by function parameter? Tuxedo <tuxedo@mailinator.com> - 2012-02-14 22:55 +0100

csiph-web