T
tborn
Hi there,
Not sure if any one has experienced this before and can tell me what's
wrong with this statement:
if verified = false then dataObjects.HasError = true
This is all on one line and verified is defined as a boolean variable.
Irrespective if verified is set to true or false in ALWAYS executes
dataObjects.HasError = true.
Following code works as expected and dataObjects.HasError = true
executes only if verified is set to false.
if verified = false then
dataObjects.HasError = true
end if
To top it all of, I use the construct
if [expression] then [do something]
at other places in the program and it works fine.
Any ideas?
Thomas Born
Not sure if any one has experienced this before and can tell me what's
wrong with this statement:
if verified = false then dataObjects.HasError = true
This is all on one line and verified is defined as a boolean variable.
Irrespective if verified is set to true or false in ALWAYS executes
dataObjects.HasError = true.
Following code works as expected and dataObjects.HasError = true
executes only if verified is set to false.
if verified = false then
dataObjects.HasError = true
end if
To top it all of, I use the construct
if [expression] then [do something]
at other places in the program and it works fine.
Any ideas?
Thomas Born