Okay... I know that Chr(0) is a no no in Kix... but with the following code, I'm wondering if it is working. I also tried creating a Null function. Would someone smarter than me look at this and provide your thoughts?

 Code:
? vartypename($chr0)
? val($chr0)
$chr0=chr0()
? vartypename($chr0)
? "[" + $chr0 + "]"
? val($chr0)
? "__________________________"
? vartypename($null)
? val($null)
$null=null()
? vartypename($null)
? "[" + $null + "]"
? val($null)


 Code:
function Chr0()
    dim $sc
    $sc = CreateObject("ScriptControl")
    $sc.language = "VBScript"
    $sc.addcode('chr0=chr(0)')
    $sc.run
    $chr0=$sc.codeobject.chr0
endfunction

function Null()
    dim $sc
    $sc = CreateObject("ScriptControl")
    $sc.language = "VBScript"
    $sc.addcode('nul=null')
    $sc.run
    $null=$sc.codeobject.nul
endfunction