cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Numerical Variable Not Evaluating in List

I am trying to Write() a list with a number variable i inside of it like this

Write({i});

but it prints, literally, {i}, not {1} or {2} or whatever the variable number of i is.

i is most certainly defined and assigned because going

Write(i);

works.

What am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Numerical Variable Not Evaluating in List

Try addingEval List() around {}

 

i = 1;
Write(Eval List({i}));
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Numerical Variable Not Evaluating in List

Try addingEval List() around {}

 

i = 1;
Write(Eval List({i}));
-Jarmo
mostarr
Level IV

Re: Numerical Variable Not Evaluating in List

Thank you, @jthi.

Recommended Articles