Post Reply 
functions with surprising behaviour/fonctions au comportement surprenant
07-17-2022, 03:59 PM
Post: #4
RE: functions with surprising behaviour/fonctions au comportement surprenant
Du coup Voici ce que j'utiliserai pour mes besoins.

So this is what I will use for my needs.

Code:

EXPORT CDIM(s)
BEGIN
 IFTE(TYPE(s)==6,MAKELIST(cdim(s(I)),I,1,SIZE(s)),cdim(s));
END;
cdim(s)
BEGIN
 IFTE(TYPE(s)==2,DIM(s),UPPER(1));
END;

UPPER(1) déclenchera une erreur type d'argument incorrect.

UPPER(1) will trigger an incorrect argument type error.

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


Messages In This Thread
RE: functions with surprising behaviour/fonctions au comportement surprenant - Tyann - 07-17-2022 03:59 PM



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