Bir saat o farklı yollar yeniden düzenlemek için çalışıyor üzerindekiler için bu kod bit karıştırmasını oldum. Bunu yazmak için daha kolay bir yolu var mı?
if x is not Number ;// if x is string
{
if y is not Number ;// x, y both strings
{
Eval(x)
Eval(y)
return
}
else ;// x is string, y is Number
{
Eval(x)
Scale(y)
return
}
}
else if y is not Number ;// x is Number, y is string
{
Scale(x)
Eval(y)
return
}
else ;// both are numbers
{
Scale(x)
Scale(y)
return
}













