what shall I write here?
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



what shall I write here? Expand / Collapse
Author
Message
Posted 5/3/2007 11:45:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/5/2007 12:28:33 PM
Posts: 2, Visits: 9
This is script piece to check that the word does not repeat as well as the color of the words. 

I wrote "or" there,but it's not correct.  What shall I write then?

script piece:
.... For nCount = 1 to (UBound(arrStim)-1)
  If arrStim(nCount).StimWord = arrStim(nCount + 1).StimWord  ??or??
     arrStim(nCount).StimColor = arrStim (nCount + 1).StimColor Then
   boolCriterion = False
   Exit For
  End If
 Next nCount....

Post #341
Posted 5/8/2007 8:48:35 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Yesterday @ 9:26:59 AM
Posts: 576, Visits: 1,254
Use "And" which will mean "ALL OF" the conditions must be met.

-Brandon

Post #344
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:35am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.062. 10 queries. Compression Disabled.