dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: function parameter array

  1. #1
    Multimedia Samurai
    Join Date
    Oct 2000
    Location
    Minneapolis, MN
    Posts
    95

    function parameter array

    simple question

    say I've got function

    function blah(a,b,c){
    stuff;
    }

    and I want blah to analyze its passed parameters as an array so it can see which (if any) were empty.

    I can handle the recursion aspect just want the syntax neede for a function to analyze its passed parameters.

    -Matt
    "Art washes from the soul the dust of everyday life."
    - Pablo Picasso

    Computer Animation and Digital Art by Matt Weier

  2. #2

  3. #3
    Multimedia Samurai
    Join Date
    Oct 2000
    Location
    Minneapolis, MN
    Posts
    95
    aha! i bet if I searched for arguments instead of "parameters" i would have been set. Viva le syntax!
    "Art washes from the soul the dust of everyday life."
    - Pablo Picasso

    Computer Animation and Digital Art by Matt Weier

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center