RaGzMaN

10-20-2005, 12:38 PM

////////////// Hi there, figured it out, thanks

Hi there,

Any one get what im on about here?

If i want to say,

If the varible is x then do this and print "youve done this"

if the varible isnt x then print "its not this".

Ive just started learning so bare with me but i see it as.

int $t = X;

proc eg (int $temp)

{

if ($temp == X) //if it is x

CreateNURBSTorus; //Then make a torus for example

else print "Its not X"; //if its not x then write

}

spm ($loc);

I get all that, my question is what do i have to add to be able to say,

if it is X then make the torus AND print "you made a torus" but still allow for it not to be X.

thanks

Hi there,

Any one get what im on about here?

If i want to say,

If the varible is x then do this and print "youve done this"

if the varible isnt x then print "its not this".

Ive just started learning so bare with me but i see it as.

int $t = X;

proc eg (int $temp)

{

if ($temp == X) //if it is x

CreateNURBSTorus; //Then make a torus for example

else print "Its not X"; //if its not x then write

}

spm ($loc);

I get all that, my question is what do i have to add to be able to say,

if it is X then make the torus AND print "you made a torus" but still allow for it not to be X.

thanks