lviolette
06-23-2009, 03:45 PM
Suppose the following INI section
[Build Platforms]
; Debug=True
; Release=False
All values in Build Platforms are commented out.
I expected the "Read INI" Action to return an empty string, or an empty array.
Instead it Fails with "The parameter is incorrect".
It works fine if at least one item exists in the section, but not if no items exist in the section.
I'm wanting to enumerate all the items in a section without requiring that section to contain an item (return empty string if section contains no items).
Right now, only way I can think of to do it is to write custom script code for my Read INI step and if the step fails, reset it to Success and manually set the return Macro value to an empty string.
Is there an easier way?
[Build Platforms]
; Debug=True
; Release=False
All values in Build Platforms are commented out.
I expected the "Read INI" Action to return an empty string, or an empty array.
Instead it Fails with "The parameter is incorrect".
It works fine if at least one item exists in the section, but not if no items exist in the section.
I'm wanting to enumerate all the items in a section without requiring that section to contain an item (return empty string if section contains no items).
Right now, only way I can think of to do it is to write custom script code for my Read INI step and if the step fails, reset it to Success and manually set the return Macro value to an empty string.
Is there an easier way?