Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20608

BASCOM-AVR : boolean logic conditions : NEWTOPIC

$
0
0
Hello specialists, pls what are the real laws for the BASCOM Compiler in Terms of boolean logic: What is allowed, what forbitten despite the Compiler does'nt cry: 1. if x = 0 and y = 1 and a = 0 and b = 0 Then.... 2. if x = 0 or y = 1 or a = 0 or b = 0 Then.... 3. if x = 0 and y = 1or a = 0 and b = 0 Then.... 4. if x = 0 xor y = 1 and a = 0 xor b = 0 Then.... 5. if x = 0 or y = 1 and a = 0 or b = 0 Then.... 6. if x = 0 and y = 1 xor = 0 and b = 0 Then.... there are comments in the net, BASCOM allows only two Parameters to compare ? Acc. to my experience 3 x AND does work, but not No. 3 in my appl. Pls clarify clearly. BEST REGARDS KSRM [b][color=red](BASCOM-AVR version : 2.0.7.6 )[/b][/color]

Viewing all articles
Browse latest Browse all 20608

Trending Articles



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