|
Syntax |
Beispiel |
Beschreibung |
|
A and B; |
if( fDistance > 10.0 and bShouldRotate ) fAngle += 0.001; |
Diese Anweisung ergibt true ( wahr ) nur, falls A und B wahr sind. |
|
A or B; |
if( fDistance > 10.0 or bShouldRotate ) fAngle += 0.001; |
Diese Anweisung ergibt true ( wahr ) , falls A oder B wahr ist. |
VIS-All® 3D Handbuch
Logische Operatoren
VIS-All® 3D Handbuch
Logische Operatoren
|
Syntax |
Beispiel |
Beschreibung |
|
A and B; |
if( fDistance > 10.0 and bShouldRotate ) fAngle += 0.001; |
Diese Anweisung ergibt true ( wahr ) nur, falls A und B wahr sind. |
|
A or B; |
if( fDistance > 10.0 or bShouldRotate ) fAngle += 0.001; |
Diese Anweisung ergibt true ( wahr ) , falls A oder B wahr ist. |