HP Forums

Full Version: bug name fonction
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Bonjour

Dans une application une fonction exportée nommée classif (EXPORT classif(x) ) se comportais
bizarrement : résultats bizarres ou erreurs.
Pourtant le code est correct, depuis que je l'ai renommé class (EXPORT class(x) ) tout va bien.
Problème à cause du 'if' à la fin ?

Sur Calculatrice v13441 matériel A

Hello

In an application an exported function named classif (EXPORT classif (x)) behaved
Oddly enough, weird results or errors.
Yet the code is correct, since I renamed class (EXPORT class (x)) everything is fine.
Problem because of the 'if' at the end?



About Calculator v13441 material A
I used this code to test this problem:

Code:

EXPORT classif(x)
BEGIN

  RETURN x^2;

END;

Then I tried a variety of inputs including: L0:={1,2,3,4,5}. Running the program: classif(L0) => {1,4,9,16,25}. This classif(x) program is working as expected on the physical and emulator devices.
No problem with that program here.
Arno
(04-29-2018 09:07 AM)Tyann Wrote: [ -> ]Bonjour

Dans une application une fonction exportée nommée classif (EXPORT classif(x) ) se comportais
bizarrement : résultats bizarres ou erreurs.
Pourtant le code est correct, depuis que je l'ai renommé class (EXPORT class(x) ) tout va bien.
Problème à cause du 'if' à la fin ?

Sur Calculatrice v13441 matériel A

Hello

In an application an exported function named classif (EXPORT classif (x)) behaved
Oddly enough, weird results or errors.
Yet the code is correct, since I renamed class (EXPORT class (x)) everything is fine.
Problem because of the 'if' at the end?



About Calculator v13441 material A

Please provide the exact source code of your program otherwise we can only guess.
Bonjour

Le problème semble venir de mon application : une copie du tableur
si je copie le programme ci-dessus.
Il fonctionne bien dans les autres applications,mais dés que je passe dans la mienne
il me renvoie une liste de -1.

Je viens de découvrir le problème, une colonne porte ce nom.
Désolé.


Hello

The problem seems to come from my application: a copy of the spreadsheet
if I copy the program above.
It works well in other applications, but it is that I pass in mine
he sends me a list of -1.

I just discovered the problem, a column has this name.
Sorry.
Reference URL's