Post Reply 
problem with CHS
03-01-2019, 09:22 AM
Post: #1
problem with CHS
Bonjour
Dans un programme que je suis en train d'écrire je reçois un message d'erreur :argument incorrect qui ne se déclenche pas tout le temps dans la ligne suivante :
by:=y(I)+14*(sy(I)>0);
Cette ligne est dans une boucle FOR I
y et sy sont des listes de dimension minimum de 1 élément.
sy(I) est une valeur qui alterne entre 1 et -1 avec le code suivant sy(I):=-sy(I);
lorsque je place un DEBUG() avant cette ligne et que je visualise sy, je vois {---1}
et c'est je pense ce qui déclenche l'erreur.
Est-ce un bug ?
Y a t il une solution ?
Toute aide est la bienvenue.
merci.

Hello
In a program that I am writing I receive an error message: incorrect argument that does not fire all the time in the following line:
Code:
by:=y(I)+14*(sy(I)>0);
This line is in a FOR I loop
y and sy are lists of minimum dimension of 1 element.
sy (I) is a value that alternates between 1 and -1 with the following code :
Code:
 sy(I):=-sy(I);
when I put a DEBUG () before this line and I visualize sy, I see {--- 1}
and that's what I think triggers the error.
Is this a bug?
Is there a solution ?
Any help is welcome.
thank you.

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


Messages In This Thread
problem with CHS - Tyann - 03-01-2019 09:22 AM
RE: problem with CHS - StephenG1CMZ - 03-01-2019, 01:42 PM
RE: problem with CHS - rprosperi - 03-01-2019, 01:56 PM
RE: problem with CHS - Tyann - 03-01-2019, 02:44 PM
RE: problem with CHS - Tyann - 03-01-2019, 05:26 PM
RE: problem with CHS - Albert Chan - 03-01-2019, 06:56 PM
RE: problem with CHS - Didier Lachieze - 03-01-2019, 09:49 PM
RE: problem with CHS - Tyann - 03-02-2019, 05:50 AM



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