vbscript에서의 empty

변수가 선언되고 그 변수에 대입이 일어나지 않으면 변수는 empty상태이다.
ReDim으로 배열이 재선언되는것을 제외하곤 한번 값이 대입되면 empty상태가 될수 없다

Dim a, b, c   
Set a = Nothing  
c = Null   
Response.Write  IsEmpty(b) ' True   
Response.Write  IsNull(c) ' True   
b = 1   
Response.Write  IsEmpty(b) ' False   
Response.Write  IsNull(b) ' False

댓글