| How about a function that tests if its argument is a string, if so converts
it to an integer, and then returns a boolean truth value? Maybe so we can
write something like:
if not (test(commonEnvironment['generateZip']))
or just
if not (testEnv('generateZip'))
Anthony
On 12/13/04 1:53 AM, jpff@codemist.co.uk etched in
stone:
> I build with
> scons buildCsoundVST=0 generateTags=1 useJack=0 generateZip=0 usePortMIDI=1
>
> but it still generates a ZIP file. Looks like the dreaded "1 is not
> true" state has reappeared
>
> 1017c1020
> < if not (commonEnvironment['generateZip']):
> ---
>> if not (commonEnvironment['generateZip']==1):
>
> Can we have a more secure way of testing these things?
>
> ==John ffitch
> |