Skip to content
Menu

VIS-All 3D Handbuch

VIS-All 3D Handbuch

VIS-All® 3D Handbuch

Logische Operatoren

Syntax

Beispiel

Beschreibung

and B;

if( fDistance > 10.0 and bShouldRotate ) fAngle += 0.001;

Diese Anweisung ergibt true ( wahr ) nur, falls A und B wahr sind.

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

Syntax

Beispiel

Beschreibung

and B;

if( fDistance > 10.0 and bShouldRotate ) fAngle += 0.001;

Diese Anweisung ergibt true ( wahr ) nur, falls A und B wahr sind.

or B;

if( fDistance > 10.0 or bShouldRotate ) fAngle += 0.001;

Diese Anweisung ergibt true ( wahr ) , falls A oder B wahr ist.

Software-Service John GmbH

Oehrenstöcker Straße 39
98693 Ilmenau
Deutschland

+49 (0) 3677 – 20 69 90
kontakt@john-software.de