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

BASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY

$
0
0
[code:1:6ea8084ee1]If A = 1 Then : B = 2 : Else : C = 3 : D = 4 : End If [/code:1:6ea8084ee1] It's very handy to know you can execute the above sample in Bascom as shown by Visovian. Traditionaly in BASIC you would get an 'IF THEN' error but its interpreted as: [code:1:6ea8084ee1] If A = 1 Then B = 2 Else C = 3 D = 4 End If [/code:1:6ea8084ee1]

Viewing all articles
Browse latest Browse all 20613

Trending Articles



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