File:FlexibleArgumentHelper.zip

From KitwarePublic
Revision as of 12:32, 10 December 2007 by Ewing2121 (talk | contribs) (The 'unpack(sources)' call feels pretty unnatural. This is easily avoided by using a table (array of strings) instead of a variable argument. But this brings up a bigger issue. Different users may package their data in different ways. We should probably t)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

FlexibleArgumentHelper.zip(file size: 2 KB, MIME type: application/zip)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

The 'unpack(sources)' call feels pretty unnatural. This is easily avoided by using a table (array of strings) instead of a variable argument. But this brings up a bigger issue. Different users may package their data in different ways. We should probably try to support these different ways (within reason). This attached program demonstrates how to use an intermediate function to handle arguments passed in as varargs, or as a table, or as nested tables, or even as interspersed tables and strings.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current12:32, 10 December 2007 (2 KB)Ewing2121 (talk | contribs)The 'unpack(sources)' call feels pretty unnatural. This is easily avoided by using a table (array of strings) instead of a variable argument. But this brings up a bigger issue. Different users may package their data in different ways. We should probably t

There are no pages that use this file.