Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

No Format
double [] mySequence = new double[5];
double offset = 4;
double step =0.2
for (int i=0;i<5;i++)
{
   mySequence[i]= offset + i * step;
}

see also http://visualstudiomagazine.com/articles/2009/04/01/make-your-code-clear.aspxImage Removedhttp://stevenharman.net/blog/archive/2008/02/12/ruby-has-ranges-and-so-does-c.aspxImage Removed