Top "Return-value" questions

Return value is the result of evaluation of a return statement.

jQuery .on() click event catching dynamic 'data-' attribute in list of buttons to pass value to other function?

I have a dynamic table list of around 40 rows each with an edit button containing a date field. I also …

jquery data-binding return-value onclicklistener
AsyncTask return value

My android app connects to my website to retrieve and upload information so I use an AsyncTask thread. In one …

android return-value android-asynctask
How to capture the Return Value of a ScriptBlock invoked with Powershell's Invoke-Command

My question is very similar to this one, except I'm trying to capture the return code of a ScriptBlock using …

powershell return-value exit-code windows-scripting invoke-command
How to elegantly ignore some return values of a MATLAB function?

Is it possible to get the 'nth' return value from a function without having to create dummy variables for all …

matlab function return-value
How to inspect the return value of a function in GDB?

Is it possible to inspect the return value of a function in gdb assuming the return value is not assigned …

debugging cross-platform gdb return-value
When should I use return false in jquery function?

I found lots of functions like this one: $(function() { $("body a").click(function() { alert(this.innerHTML); return false; }); }); What's the …

javascript jquery callback return-value
ContentResult vs. string

I recently was asked why to use ContentResult instead of returning string. Unfortunately I could not give a better answer …

asp.net asp.net-mvc string return-value
Hibernate query.list() method is returning empty list instead of null value

When there are no rows, both query.list() and criteria.list() are returning empty list instead of a null value. …

java hibernate collections nullpointerexception return-value
Returning every element from a list (Python)

I know that it is possible for a function to return multiple values in Python. What I would like to …

python return return-value multiple-variable-return
Can Qt signals return a value?

Boost.Signals allows various strategies of using the return values of slots to form the return value of the signal. …

c++ qt return-value signals-slots boost-signals