XUL:Command Line Handling: Difference between revisions

Jump to navigation Jump to search
m
(...comment)
 
Line 159: Line 159:


Callek says: I agree with Axel on the ugliness of the look of that. Could we perhaps add a method similar to <tt>getArgumentValue(found)</tt> which would do what <tt>found + 1</tt> does now in this case?
Callek says: I agree with Axel on the ugliness of the look of that. Could we perhaps add a method similar to <tt>getArgumentValue(found)</tt> which would do what <tt>found + 1</tt> does now in this case?
Neil: maybe a function void extractArguments(in string flag, in unsigned long max, out unsigned long count, [retval, array, size_is(count)] out string args); which would remove the extracted args or return null on failure.
Confirmed users
269

edits

Navigation menu