How to use Fiber?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 25 02:15:04 PST 2015


Huh? If you wanted to print an array, then
---
void main()
{
int n=1;
	while(n<=10_001)
	{
		v~=n;
		n+=5000;
	}
     foreach(c;v)
     {
     	writeln( " current n is ",c );
     }
}
---


More information about the Digitalmars-d-learn mailing list