Switch to Bing in English
About 68,500,000 results
Open links in new tab
  1. 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 = Range("A1").Value, where …

  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 callback function …

  3. 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 remainder. One …

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

    LINE 1: select f(1); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. because there is no f() function that takes an integer as argument. So you …

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

    Oct 9, 2012 · function myFunc(a,b) { b = b || 0; // b will be set either to b or to 0. } This works as long as all values you explicitly pass in are truthy. Values that are not truthy as per MiniGod's comment: null, …

  6. What is the Python equivalent of static variables inside a ...

    Nov 11, 2008 · There is NO equivalence I am afraid. Even if you do the decorator hack with function attributes, you will be able to access the variable outside, which kinda defeats the point, sadly. …

  7. 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 not actually a function. …

  8. What is the best way to exit a function (which has no return ...

    If I implement this in python, it bothers me, that the function returns a None. Is there a better way for "exiting a function, that has no return value, if a check fails in the body of the function"?

  9. 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 within my …

  10. javascript - Are 'Arrow Functions' and 'Functions' equivalent ...

    If a function is constructable, it can be called with new, i.e. new User(). If a function is callable, it can be called without new (i.e. normal function call). Functions created through function declarations / …