Quantcast
Channel: Active questions tagged return-value - Stack Overflow
Browsing all 228 articles
Browse latest View live

C# function to return array [closed]

/// <summary>/// Returns an array of all ArtworkData filtered by User ID/// </summary>/// <param name="UsersID">User ID to filter on</param>///...

View Article


I get one return value from the REPL and another from the file in Common...

When I use the REPL I get this result:* (block my-block (print "We see this") (return-from my-block 10) (print "We will never see this"))"We see this" 10* But when I load the file I get this...

View Article


How do I do anything with multiple return values in Racket?

It seems that in order to use multiple return values in Racket, I have to either use define-values or collect them into a list with (call-with-values (thunk (values-expr)) list).In the latter case, why...

View Article

How to ignore a JavaScript fetch error and return null instead?

I asked the Stack Overflow AI already: link, but I didn't found the answer helpful.My question is: I want to fetch other content with JavaScript, but return null if a 404 error occurs.Example:function...

View Article

CodeIgniter model method using recursion unexpectedly returns null [duplicate]

I have this method called treetrunk() that runs up a parent child relationship and is supposed to return an array if ids as a "branchPath" - the method seems to be working just fine as a var_dump()...

View Article


How to return a string value from a Bash function

I'd like to return a string from a Bash function.Java example:public String getSomeString() { return "tadaa";}String variable = getSomeString();This bash example works, but are there better...

View Article

How to return two tables in T-SQL using stored procedure or functions?

I have property details and I want vacant property & occupied separately in two different table as a return result. Kindly let me know is it possible to return 2 tables, as a result, using stored...

View Article

Intellij warning: Return value of the method is never used

I have some code that seems OK, but Intellij IDEA warns about many of its methods that return values thatReturn value of the method is never usedHere is the actual code below, a builder class.public...

View Article

Browsing all 228 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>