Apache
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Apache

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 31st, 2008, 03:01 PM
Ryan Miling
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Infinite While Controller

I am attempting to use a while controller with the following condition:



${__javaScript("${x${numX}}"!="-1",dummy)}



The condition includes a reference to the variable numX, which is a
positive integer (e.g. 1,2,3,etc.), as well as the variable x${numX}
that is also a positive integer (e.g. x1,x2,x3,etc.). These variables do
in fact exist and are defined well.



The issue is that the loop is never-ending and never evaluates to false
(dummy = true). I expect the error is involving a variable referenced
within a variable, but I am not sure what is the proper syntax to do so.
I also checked related questions and I do not have any trailing spaces
at the end of the condition or any variable.



Ryan

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Apache > Infinite While Controller


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT