条件语句-1.1

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/caishu1995/article/details/85201122

if-else

if()
    begin
        --begin end类似{}
    end
else
    begin
        --begin end类似{}
    end

while

while()
    begin
    end

case【类似c#的switch】

case
    when 条件1 then ''
    when 条件1 then ''
    else ''
end

猜你喜欢

转载自blog.csdn.net/caishu1995/article/details/85201122