Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qmitem question in QM 2.4.1
#1
Dear Gintaras,

I wonder whether qmitem does not stop, but it loops infinetely in QM 2.4.1. No problem in 2.3 versions. I attach the following test code :

Macro temp
Trigger SF12     Help - how to add the trigger to the macro
Code:
Copy      Help
QMITEM q; int i l m
rep
,i=qmitem(-i 0 &q 1|16)
,m+1
,out m
,if(i=0) break
,if q.itype!5 or q.folderid; continue
,l+1
,out "%i %i %i - %s" l i q.folderid q.name

Nevertheless, with a different criterion this loop ends, as it follows :

Macro temp
Trigger SF12     Help - how to add the trigger to the macro
Code:
Copy      Help
QMITEM q; int i n flags l m
rep
,i=qmitem(-i 0 &q 1|16)
,m+1
,out "%i - %i" m i
,if(m>i) break
;,if(i=0) break
,if q.itype!5 or q.folderid; continue
,l+1
,out "%i %i %i - %s" l i q.folderid q.name
Please advise, Best Regards
#2
Will be fixed in 2.4.1.6, thank you.
#3
Many thanks !


Forum Jump:


Users browsing this thread: 7 Guest(s)