Questions tagged as 'return'

0
answers

Returning empty table

create function teste( teste varchar ) returns setof record AS $$ begin execute teste; return ; end; $$ language plpgsql; select teste ('select * from public.opcional '); Is this returning me a record with nothing like how do I disp...
asked by 07.05.2015 / 22:10
1
answer

null object reference [duplicate]

Logcat java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean)' on a null object reference Adapter code @Override public View...
asked by 25.10.2018 / 01:23
2
answers

How do I make a given function return the value of a variable date and a numeric value in php?

I created a function that calculates the next business day of a certain date that it receives, but in addition to returning this new date I wanted it to increment an additional number to a count variable ($ prdia) and return that variable also....
asked by 21.11.2018 / 20:31
1
answer

Return two models in a view (foreach)

Good morning. I'm new to C # and aspnet and I came across a problem. Developing a virtual calendar, I would like to display two queries on a page just when the user logs in, however, there in my controller I can only return a view even though I...
asked by 23.12.2017 / 13:12
2
answers

How can I call a void method of the class to display a msg in a form [closed]

I have a public void listarProduto() method. It needs to have all the input information by the user. My problem is it's time to call this method within a MessageBox() on the form for the message to appear.     
asked by 31.08.2017 / 21:57
1
answer

Use of return in python [closed]

def repita(): x = 2 while n % x != 0: x += 1 repeat() while n > 1: n = n / x #aqui se encontra o primeiro problema, já que "n" não é reconhecido fora da função x += 1 if n % x != 0:#mesmo problema de antes repit...
asked by 24.12.2017 / 11:46