IF CONDITION [Gelöst]


Good afternoon.
As indicated on a smartpart
IF = g1 = "cube" then I want you to draw the cube
goto "100" tag
if = g1 = "cylindre then I want it to draw a cylinder
I'm sorry for this very basic question.
Thanks in advance

Regards

Anhänge (2)

Typ: image/png
38-mal heruntergeladen
Größe: 11,99 KiB
Typ: image/png
40-mal heruntergeladen
Größe: 15,98 KiB

Lösung anzeigen Lösung verbergen

Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN


Hola Toni,
Each function have a help in the bottom of the window. Please look at this help. It can really help you.

In your case, you can do like this:

IF g1 = "cube" THEN