본문 바로가기

Programming/Asp

[ASP] if 문

예제)

if test = "test" then

Response.write test

end if



asp에는 == 이없다. 그냥 = 쓰면 됨


예) if test == "test" (x)

    if test = "test" (o)



asp에는 != 이 없다. <> 다.


예) if test != "test" (x)

     if test <> "test" (o)


'Programming > Asp' 카테고리의 다른 글