About 10,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. What is a callback function? - Stack Overflow

    May 5, 2009 · A callback function is a function which is: accessible by another function, and is invoked after the first function if that first function completes A nice way of imagining how a …

  3. c++ - Function passed as template argument - Stack Overflow

    Related: a lambda with no captures can decay to a function pointer, and you can pass that as a template param in C++17. Clang compiles it ok, but current gcc (8.2) has a bug and incorrectly …

  4. ERROR: function ... does not exist and HINT: No function matches …

    My function is: CREATE OR REPLACE FUNCTION FnUpdateSalegtab09 ( iacyrid Integer,iRepId Integer,iDrId Integer,ivrid Integer,imode smallint,itrno varchar,itrdate timestamp,iacid …

  5. Defining and calling function in one step - Stack Overflow

    Dec 30, 2015 · Is there a way in Javascript to define a function and immediately call it, in a way that allows it to be reused? I know you can do one-off anonymous functions: (function(i) { var …

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

    33 For more generic advice on debugging this kind of problem MDN have a good article TypeError: "x" is not a function: It was attempted to call a value like a function, but the value is …

  7. Returning multiple values from a C++ function - Stack Overflow

    Aug 19, 2015 · Is there a preferred way to return multiple values from a C++ function? For example, imagine a function that divides two integers and returns both the quotient and the …

  8. sql - How do I split a delimited string so I can access individual ...

    Nov 2, 2015 · Using SQL Server, how do I split a string so I can access item x? Take a string "Hello John Smith". How can I split the string by space and access the item at index 1 which …

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

    0 A Python function can take in some arguments, take this for example, def add(x,y): return x+ y # calling this will require only x and y add(2,3) # 5 If we want to add as many arguments as we …

  10. Proper way to wait for one function to finish before continuing?

    Feb 3, 2014 · I have two JS functions. One calls the other. Within the calling function, I'd like to call the other, wait for that function to finish, then continue on. So, for example/pseudo code: …