How to make input parameter optional in script?<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />lb7 = Col List Box( max selected( 1 ), nlines( 1 ), onchange( b = 1 ) ),
Button Box("Ok",
specCon[7] = lb7 << Get Items;)
Lets say that I occasionally want to leave lb7 empty as it is an optional parameter, how do I do it without the script giving me an error everytime I run it?
Re: How to make input parameter optional in script?The <
show( lb7 << Get Items, nitems(lb7 << Get Items));

lb7 << Get Items = {};
N Items(lb7 << Get Items) = 0;

lb7 << Get Items = {"height"};
N Items(lb7 << Get Items) = 1;