Converting ntuples to text files

Hi all,

I am a new rooter and my biggest problem is:

How can i convert ntuples to text file or .dat files?

Is there a function already made? Or if not, what should i do?

Thanks a lot

Ciodaro

Do:

mytuple.SetScanField(0);
mytuple.Scan(); >x.dat

Rene