How to create a loop (for i=0 to... do etc.) in esignal?
Announcement
Collapse
No announcement yet.
Loop
Collapse
X
-
-
Hi pbereau,
The link is bad... FWIW, there is a trick to posting links to KnowledgeBase articles. (I believe this is because the address you copied has something to do with your unique browser session or search.)
When in the KnowledgeBase, you have to select the eMail tool in the right margin to eMail the link. When the eMail pop-up is created, the link in the pop-up is a valid stand-alone link to the specific KnowledgeBase article.
Originally posted by pbereau
Okay
just find it
http://kb.esignalcentral.com/article.asp?article=1782&p=4
Comment
-
Hi pbereau,
here are some loop examples
PHP Code://do loop technique
var safetyCount = 0;
try
{
do{
//your stuff here...
if((safetyCount++)>10000)throw("safetyCount greater than 10000");
}
while (true);
}
catch(e) {
debugPrintln("error in do loop ==>> "+e);
}
//typical for loop technique
for(var i=0;i<20;i++){
//your stuff here...
}
To be any more specific to your specific issue, please post a working efs and we can address the issue directly.
An example efs that uses a slightly different loop structure is here: (the loading data from file efs).
As far as posting an efs2 example, the use of efs1 or efs2 methods or techniques makes no difference with regards to basic JavaScript functionality.
Comment
Comment