A =如果相关信息空输入空 - 不要删除!;逻辑编程帮助
B =如果相关信息空输入空 - 不要加!;
C =如果相关信息空输入等于相关信息 - 不加;!
我们可以有这样的:
if B //it's the most common operation, so at the beginning.
{
//add
}
else
{
//remove
}
elseif(c)
{
//the same add
}
我相信这可以更好地思考。我可以帮你吗?
在此先感谢,
什么是infos? – 2010-09-03 11:03:32
只是一些东西。它可能是blabla。在这种情况下,我试图将数据库中的值与用户输入的值进行比较。所以信息将代表来自数据库的信息。 – MEM 2010-09-03 11:19:54