nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#749 Macro processing needs to support some looping mechanisms, #2487

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

Suggest adding the following loop control macros

#for VAR = ${START}:${STEP}:${STOP}  
#end  

#foreach VAR in ${LIST}  
#end  

#while VAR REL VAR 
#end  

#until VAR REL VAR
#end  

,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":- Description has changed:

Diff:

Diff:


--- old
+++ new
@@ -1,18 +1,17 @@
 Suggest adding the following loop control macros  

+~~~
 #for VAR = ${START}:${STEP}:${STOP}  
 #end  
-

 #foreach VAR in ${LIST}  
 #end  

-
-#while VAR in ${LIST}  
+#while VAR REL VAR 
 #end  

+#until VAR REL VAR
+#end  
+~~~

-#until VAR in ${LIST}  
-#end  
-

,