dcsimg
IDEA's File Templates and ForEach Loop..
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Naveen_Prabakaran
Posted On:   Monday, March 10, 2003 09:23 AM

Hi all, I am trying to run the following piece of code but not able to get it working. Any ideas? #foreach ($jj in [1 .. $cols_value]) ${jj} #end I even tried the following: #set ( $startval = 1 ) #set ( $endval = $cols_value ) #foreach ($jj in [$startval .. $endval]) ${jj} #end Not sure as to where it is going wrong. Am using IDEA(Ver 3.0.2) BUILD 695 Please let me know if anyone knows what am doing wrong. Hope to hear soon from some of you. Thanks in advance. Naveen    More>>

Hi all,

I am trying to run the following piece of code but not able to get it working. Any ideas?


			
#foreach ($jj in [1 .. $cols_value])
${jj}
#end


I even tried the following:


			
#set ( $startval = 1 )
#set ( $endval = $cols_value )
#foreach ($jj in [$startval .. $endval])
${jj}
#end

Not sure as to where it is going wrong.


Am using IDEA(Ver 3.0.2) BUILD 695


Please let me know if anyone knows what am doing wrong.


Hope to hear soon from some of you.


Thanks in advance.


Naveen

   <<Less
About | Sitemap | Contact