Post Reply 
bug name fonction
04-29-2018, 09:07 AM
Post: #1
bug name fonction
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

Sorry for my english
Find all posts by this user
Quote this message in a reply
04-29-2018, 10:39 AM
Post: #2
RE: bug name fonction
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.
Find all posts by this user
Quote this message in a reply
04-29-2018, 07:02 PM
Post: #3
RE: bug name fonction
No problem with that program here.
Arno
Find all posts by this user
Quote this message in a reply
04-29-2018, 07:04 PM
Post: #4
RE: bug name fonction
(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.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
04-30-2018, 05:21 AM
Post: #5
RE: bug name fonction
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.

Sorry for my english
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)