Hi, I am trying to compare the the string i stored in array[1] with var temp..
IF>array[1]=temp then
code
ENDIF
is this correct??
i am also trying to visualiza the content of an array to see the content of the current counter and the previous one..
let>b=c
sub>b,1
messageModal>array[%b%]
messageModal>array[%c%]
thanksss
Compare string in array with var....
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Do this:
Let>tmpStr=array[%k%]
MessageModal>tmpStr
And
Let>tmpStr=array[%k%]
If>tmpStr=temp
...
Else
...
Endif
Let>tmpStr=array[%k%]
MessageModal>tmpStr
And
Let>tmpStr=array[%k%]
If>tmpStr=temp
...
Else
...
Endif
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?