How can I printf a tab?

January 19 2012 by Xilyte 10
false
Maple

1


HI,

 

I've got a MapleCode with exports the data in the end into an ".txt"-File. Now it's necessary to create an"Tab" instead of the semicolon, which is produced now between A and B.

Now: "A;B"

Should be: "A    B" (Tab between).

 

> fd := fopen("C:/ZZZ_TEST4.txt", WRITE);
                                                   
> fprintf(fd, "A"); fprintf(fd, ";"); fprintf(fd, "B");

print(`output redirected...`); # input placeholder

> fclose(fd);

 

I would be very pleased if you could help me, I'm already a little  bit hopeless.

Best Regards,

Moe



 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account