mgervasi
1 Copper

ASL Scripting - How do I check if my variable i created as list is empty?

Hi,

I have a variable I created area_id = list(); that I enter data into for a report ... But before I print out the contents, I need to know if its still empty, how do I do this ???

if (area_id-isNull()) doesn't work, if(area_id=="") doesn't work either... any ideas

Michael

Tags (4)
0 Kudos
2 Replies
FredericMeunier
3 Argentium

Re: ASL Scripting - How do I check if my variable i created as list is empty?

Hi,

sizeOf() should help ...

HTH,

--Fred

== Monitor your Smarts environment using APG ReportPack for Smarts health ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com

0 Kudos
mgervasi
1 Copper

Re: ASL Scripting - How do I check if my variable i created as list is empty?

Perfect, thanks!

Michael

0 Kudos