Author Topic: incremental arrays  (Read 11655 times)

kyle

  • Newbie
  • *
  • Posts: 48
    • View Profile
incremental arrays
« on: January 20, 2017, 04:35:51 AM »
I was going through the language reference and finally read the section on incremental arrays.  Very nice!  That should eliminate a lot of ugly boilerplate early set up.

What are the limitations on the array additions?  Can they be in any compilation unit where the array is visible or do they have to be in the same compilation unit (i.e. file)?

bas

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Re: incremental arrays
« Reply #1 on: January 29, 2017, 11:16:30 AM »
The intention was indeed to remove a lot of macro magic by allowing incremental arrays. Currently all parts must be
in the same file I think, but I don't think there are problems when allowing multiple files in same module (since the order is
specified in the recipe).