IF CONDITION [Résolu]


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

Pièces-jointes (2)

Type: image/png
Téléchargé 38 fois
Size: 11,99 KiB
Type: image/png
Téléchargé 40 fois
Size: 15,98 KiB

Show solution Hide solution

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