[SR-Users] $vn vs $var

Alex Balashov abalashov at evaristesys.com
Thu Jan 30 18:56:04 CET 2020


Hi,

I must have missed the discussion about it somewhere, but what is the
inspiration for the new $vn variable container?

According to the documentation, the only difference is that it can hold
$null values, whereas variables initialised in $var to $null are coerced
into an integer value of 0.

But why was this a concern? Why is it necessary? Is it not confusing to
users?

Thanks,

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list