cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hcarr01
Level VI

script

Bonjour à tous,

 

Dans une base de données, je cherche à retrouver une valeur dans une colonne et garder en mémoire l’indice de la ligne dans une variable. Ensuite, avec cet indice, je fais des modifications sur une autre colonne.

 

Mon script fonctionne quand je l’intègre dans la base de données mais pas quand je créé un script indépendant.

Voici la table et la script que j’utilise :

 

Names Default To Here(1);

dt3 = current data table();

C = Loc(dt3[Row(), "X_1"], "V1_12");
show(C);

Merci pour votre aide.

1 REPLY 1
jthi
Super User

Re: script

At least you have incorrect column name in your provided script. Also depending on how you are using your script, you might have to change Row() into something else

Names Default To Here(1);

dt3 = current data table();

C = Loc(dt3[0, "X__1"], "V1_12");
show(C);
-Jarmo

Recommended Articles