Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD21] Comparing instances of Structure variables [Solved'ish]

$
0
0
Hi,

If I have 2 instances of a Structure (both created from the same Structure variable); i.e. StructOLD and StructNEW and I want to compare them to see if they are different, what is the syntax?

I've tried:

If StructOLD <> StructNEW THEN
.
.
.
END

... I've traced my code, looked at the values and they look identical, but the flow of the code goes INTO the IF statement which I don't expect.

Am I using the correct syntax to compare 2 Structures? ...or do I need to compare each Member of both Structure instances to deduce their difference(s)?

Thanks in advance...

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>