About 12,900,000 results
Open links in new tab
  1. Passing parameters to a Bash function - Stack Overflow

    Jun 2, 2011 · I am trying to search how to pass parameters in a Bash function, but what comes up is always how to pass parameter from the command line. I would like to pass parameters …

  2. How to return a result from a VBA function - Stack Overflow

    When called within VBA the function will return a range object, but when called from a worksheet it will return just the value, so set test = Range("A1") is exactly equivalent to test = …

  3. syntax - What does %>% function mean in R? - Stack Overflow

    Nov 25, 2014 · I have seen the use of %>% (percent greater than percent) function in some packages like dplyr and rvest. What does it mean? Is it a way to write closure blocks in R?

  4. Return value from a VBScript function - Stack Overflow

    To return a value from a VBScript function, assign the value to the name of the function, like this:

  5. How can I declare optional function parameters in JavaScript?

    Oct 9, 2012 · Can I declare default parameter like function myFunc( a, b=0) { // b is my optional parameter } in JavaScript?

  6. How do I define a function with optional arguments?

    466 I have a Python function which takes several arguments. Some of these arguments could be omitted in some scenarios.

  7. JavaScript error: "is not a function" - Stack Overflow

    It was attempted to call a value like a function, but the value is not actually a function. Some code expects you to provide a function, but that didn't happen.

  8. javascript - What is 'Currying'? - Stack Overflow

    In a functional language, you could pass in the mass of the earth to the function and then partially evaluate it. What you'd get back is another function that takes only two arguments and …

  9. How can I return two values from a function in Python?

    32 I would like to return two values from a function in two separate variables. What would you expect it to look like on the calling end? You can't write a = select_choice(); b = …

  10. c - Passing struct to function - Stack Overflow

    Apr 29, 2012 · 141 This is how to pass the struct by reference. This means that your function can access the struct outside of the function and modify its values. You do this by passing a …