Eine Frage zur Validierung in der if() clause.
Werden in jedem cycle alle Konditionen in der if() clause überprüft?
Ist dies:
gleichbedeutend mit
Werden in jedem cycle alle Konditionen in der if() clause überprüft?
Ist dies:
Code:
a=0b01 b=0b01 c=0b01 /* manipulation von a und b */ if(a and b) then c= EIN else c=AUS endif
Code:
a=0b01 b=0b01 c=0b01 /* manipulation von a und b */ if( change(a) or change(b)) then{ if(a and b) then c= EIN else c=AUS endif } endif
Kommentar