renames

Thomas De Contes <[email protected]>
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Bonjour :-)


J'ai :
p :machin renames s.p(cnd.m);

s et cnd sont des variables
s.p est un tableau de machin, cnd.m est l'index

Je modifie cnd.m après cette déclaration,
et apparemment, quand j'utilise p après, cnd.m a l'ancienne valeur,
cad que qqch aurait été figé au moment de la déclaration du renames

Ca me surprends, parce que je pensais que "renames" c'était uniquement 
un raccourci, et que *tout* était recalculé à chaque fois


Est ce que qqn pourrait m'expliquer comment ça marche exactement, svp ?
quand il y a des fonctions par exemple

_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.