Conditionals, and Loops

I’ve been busy trying to automate the production of nodes for my Morcego installation, and find myself hung up on how to script an interative process for making similar links.
After much searching and head-scratching, I’ve found something that’s not quite an Aha! moment, but does make sense of something I’ve puzzled over.

Conditional (programming) – Wikipedia, the free encyclopedia

Else If

  • By using Else If, it is possible to combine several conditions.
  • Only the statements following the first condition that is found to be true will be executed.
  • All other statements will be skipped.
  • The statements of the final Else will be executed if none of the conditions are true.
Deutsch Espanol Francais Italiano Portugues Arabic Japanese Korean

Post 468 by dglp

Published on June 13, 2010 ~ 10:40 PM

Posted in theory | No Comments »

No Comments »


There are currently no comments for this post...


Publish a comment »




Comments (Thank you)

*

Functional XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>