Questions tagged as 'return'

1
answer

Android does not interpret a webpage's "\ n" command

I am creating an app that it accesses a URL page, it queries some data, and returns the result in an alert dialog , but in the web code, made in PHP, I need to put some \ n "to format the data, and everything there is before \ n" Android does n...
asked by 28.01.2015 / 18:32
1
answer

How to return an "OUT" parameter in SmartDevices Genexus Ev3 U1?

Develop with Genexus Smart Devices Ev3 U1 for Android. I want to develop a Father screen that, when clicking a button, opens the Son screen, where the user selects an item on a grid and returns to the Father displaying the clicked item....
asked by 18.12.2014 / 12:27
2
answers

How to return more than one property with JSON?

I would like to know how I return more than one property in PHP. Below is the code where I return the user name and wanted to return, in addition, his registration. I tried to do the same thing just by adding the 'enrollment', but it did not wor...
asked by 14.01.2015 / 13:41
1
answer

Find value of a non-static method of the class itself, in a jfieldtextFocusLost

I have a method created by me that returns a boolean: public boolean ValidaNumero() { long valor; if(NIPCC.isFocusable()){ if (NIPCC.getText().length() != 0 ) { try { valor = Long.parseLong(NIPCC.getText());...
asked by 16.10.2014 / 11:13
1
answer

Not all paths return value

TheCadastrareventisshowingupwiththeerror.usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingCamadaModelo;usingSystem.Configuration;usingSystem.Data;usingSystem.Data.OleDb;usingCamadaCo...
asked by 17.11.2018 / 23:53
1
answer

Save results from a function in a variable Ionic 3 + Firestore

How do I save the result obtained in r.get ('quant') into a variable and return its value, because the first console.log shows the data I got, but the second does not, and the return quant always shows undefined on the console. getQuantProduto...
asked by 17.10.2018 / 02:25
1
answer

Use of Class in Kivy

Good afternoon, I want to make a program that uses several combobox and in a single window. But I can not get both of them to appear. When I run the program, only one of the combobox appears. Below I send the current code. from kivy.app import...
asked by 03.10.2018 / 22:04
1
answer

Treat functions that return multiple values in Python [duplicate]

For example, I have a mergeSort(alist) function that has return return count, blist that is, returns an integer that is the inversion counter and a list of values. When you pass a list 5 4 3 1 2 5 and make prin...
asked by 29.09.2018 / 20:44
1
answer

Angular - HTTP interceptor return the value of a promise

I have to apply a descriptografia on the body of the return of a request via Interceptor , however the decryption method is asynchronous and returns a promisse . Here's an excerpt from the class: intercept(req: HttpRe...
asked by 30.08.2018 / 19:22
1
answer

How to return or extract more than one value from a function?

integerPower( int y ){ int base2; int base3; int base4; int total; base2 = pow( y , 2); base3 = pow( y, 3); base4 = pow( y, 4); When I call this function (I did not type return because that's the question) I...
asked by 13.12.2016 / 00:44