Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / array help

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. array help
#749
Posted by: qmark 2003-01-24 21:45:07
example:

for cc = 1 to 10   
  CDOT(cc).enabled=0 
next cc
 
 i just need that cc is 1 to 10 but without 2

thanx
Message2. IF
#750
Posted by: guidance 2003-01-24 21:58:17
Add:
 IF cc<>2 then
Message3. Re: IF
#751
Posted by: qmark 2003-01-24 22:21:25
it not exactly what I'm looking for, because:

IF cc = 2 THEN cc sould become 1 to 10 without 2


for cc = 1 to 10   
  CDOT(cc).enabled=0 
next cc
Message4. Re: IF
#752
Posted by: guidance 2003-01-25 04:35:37
Didn't see cc has other task in the loop, why can't be 2?

for cc = 1 to 10   
 if cc<>2 then
  CDOT(cc).enabled=0 
 end if
next cc
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥738.00 ·
 
 
¥1,480.00 ·
 
 
¥397.00 ·
 
 
¥950.00 ·
 
 
¥264.00 ·
 
 
¥1,005.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0