|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
Is there any way that you can change the interval that |LOOP| counts at in a macro? For instance, I want |LOOP| to go by 2's instead of 1's so I can read 2,4,6,8,10,12, etc.
Thanks. |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
Hi,
I think you can't change the increment for |LOOP|. However you can define an auxiliary variable |DUMMY| instead. $!Varset |DUMMY|=2 $!Loop NUMBER_OF_ITERATIONS #use |DUMMY| as a counter $!Varset |DUMMY|+=2 $!Endloop |
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
| Tecplot - Macro: Variable with variable name... | trial | Tecplot | 1 | April 17, 2010 03:04 |
| Tecplot Macro - conditional - array variable | pchidamb | Tecplot | 2 | July 29, 2009 09:48 |
| error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | Main CFD Forum | 1 | May 30, 2008 04:35 |
| Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |