11-07-2008, 08:39 AM
Hi all,
Some basic question
I am writing sample code
Guys the question is even if I set the value in global datasheet as true for "first"
the script still executes action "Thirdone" and just skips the previous two actions. It does not show any syntax error either.
can anybody explain this?
Some basic question
I am writing sample code
Code:
intfirst=False
intsecond=False
If Ucase(datatable("first", dtGlobalsheet)) = "True" Then
intfirst=true
Runaction "firstone", oneiteration
elseif Ucase(datatable("second", dtGlobalsheet)) = "True" Then
intsecond=True
Runaction "secondone", oneiteration
else
Runaction "Thirdone", oneiteration
end if
Guys the question is even if I set the value in global datasheet as true for "first"
the script still executes action "Thirdone" and just skips the previous two actions. It does not show any syntax error either.
can anybody explain this?