Opened 8 years ago
Closed 8 years ago
#4776 closed enhancement (duplicate)
threaded for loop outside of list
| Reported by: | Willi Braun | Owned by: | Martin Sjölund | 
|---|---|---|---|
| Priority: | normal | Milestone: | Future | 
| Component: | MetaModelica | Version: | |
| Keywords: | Cc: | 
Description
It is possible to use threaded for loop in lists, something like:
out = list( func(e,v) threaded for e in inEqns, v in inVars);
Wouldn't it be also nice to have such construct in regular loop, something like:
equation
  threaded for e in inEqns, v in inVars loop
    extraArgs = traverserStrongComponents({e}, {v}, {}, {}, extraArgs);
  end for; 
      
  Note:
 See   TracTickets
 for help on using tickets.
    
Duplicate of #2874.