if x is missing value then
display dialog "x is missing value"
end if
if x is null then
display dialog "x is null"