Name: Anonymous 2007-10-24 22:46
def command_dsfgh
if $var_ex[1] = nil
print('shit happens')
$scene = nil
end
elsif $var_ex[1] = 1
$var_val[1] = + 0 #Pointless, eh?
$scene = scene_window1.new
end
elsif $var_ex[1] = 2
$var_val[1] = + 2
$scene = scene_window1.new
end
elsif $var_ex[1] = 3
$var_val = + 4
$scene = scene_window1.new
end
elsif $var_ex[1] = 4
$var_val = + 8
$scene = scene_window1.new
end
elsif $var_ex[1] = 5
$var_val = + 16
$scene = scene_window1.new
etc...
Basically it's a=b+(2^c) and scene_window1 uses the value of "a" for something.
I'm not an EXPERT PROGRAMMER who has achieved
if $var_ex[1] = nil
print('shit happens')
$scene = nil
end
elsif $var_ex[1] = 1
$var_val[1] = + 0 #Pointless, eh?
$scene = scene_window1.new
end
elsif $var_ex[1] = 2
$var_val[1] = + 2
$scene = scene_window1.new
end
elsif $var_ex[1] = 3
$var_val = + 4
$scene = scene_window1.new
end
elsif $var_ex[1] = 4
$var_val = + 8
$scene = scene_window1.new
end
elsif $var_ex[1] = 5
$var_val = + 16
$scene = scene_window1.new
etc...
Basically it's a=b+(2^c) and scene_window1 uses the value of "a" for something.
I'm not an EXPERT PROGRAMMER who has achieved
Satori yet so I wouldn't know what to do in this type of situation. In before lol enjoy your toy language, Ruby on Fails, sage bomb, etc.