<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, How can I printf a tab?</title>
    <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 21:35:16 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 21:35:16 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, How can I printf a tab?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, How can I printf a tab?</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab</link>
    </image>
    <item>
      <title>By "Tab"</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab?ref=Feed:MaplePrimes:How can I printf a tab?:Comments#answer129804</link>
      <itunes:summary>&lt;p&gt;This works:&lt;br&gt;fd := fopen("C:/ZZZ_TEST4.txt", WRITE); &lt;br&gt;fprintf(fd, "A"); &lt;br&gt;fprintf(fd, " "); #one Tab between ""&lt;br&gt;fprintf(fd, "B"); &lt;br&gt;fclose(fd);&lt;/p&gt;
&lt;p&gt;See &lt;a href="/view.aspx?sf=129804/428966/Tab.mw"&gt;Tab.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;This works:&lt;br&gt;fd := fopen("C:/ZZZ_TEST4.txt", WRITE); &lt;br&gt;fprintf(fd, "A"); &lt;br&gt;fprintf(fd, " "); #one Tab between ""&lt;br&gt;fprintf(fd, "B"); &lt;br&gt;fclose(fd);&lt;/p&gt;
&lt;p&gt;See &lt;a href="/view.aspx?sf=129804/428966/Tab.mw"&gt;Tab.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>129804</guid>
      <pubDate>Thu, 19 Jan 2012 16:40:08 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>\t</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab?ref=Feed:MaplePrimes:How can I printf a tab?:Comments#answer129807</link>
      <itunes:summary>&lt;p&gt;The control character of a tab can be printed by using an escaped character with backslash (\).&lt;/p&gt;
&lt;pre&gt;fprintf("c:/temp/text.txt","%a\t%a",A,B):

fclose("c:/temp/text.txt");
&lt;/pre&gt;
&lt;p&gt;And now that file text.txt contains,&lt;/p&gt;
&lt;pre&gt;A	B
&lt;/pre&gt;
&lt;p&gt;with a tab between them.&lt;/p&gt;
&lt;p&gt;See &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=backslash' target='_new'&gt;?backslash&lt;/a&gt; and &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=printf' target='_new'&gt;?printf&lt;/a&gt; &lt;!--break--&gt;&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The control character of a tab can be printed by using an escaped character with backslash (\).&lt;/p&gt;
&lt;pre&gt;fprintf("c:/temp/text.txt","%a\t%a",A,B):

fclose("c:/temp/text.txt");
&lt;/pre&gt;
&lt;p&gt;And now that file text.txt contains,&lt;/p&gt;
&lt;pre&gt;A	B
&lt;/pre&gt;
&lt;p&gt;with a tab between them.&lt;/p&gt;
&lt;p&gt;See &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=backslash' target='_new'&gt;?backslash&lt;/a&gt; and &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=printf' target='_new'&gt;?printf&lt;/a&gt; &lt;!--break--&gt;&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>129807</guid>
      <pubDate>Thu, 19 Jan 2012 18:54:39 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Does work</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab?ref=Feed:MaplePrimes:How can I printf a tab?:Comments#answer129853</link>
      <itunes:summary>&lt;p&gt;Thank you very much - it does work perfectly!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you very much - it does work perfectly!&lt;/p&gt;</description>
      <guid>129853</guid>
      <pubDate>Fri, 20 Jan 2012 19:19:53 Z</pubDate>
      <itunes:author>Xilyte</itunes:author>
      <author>Xilyte</author>
    </item>
    <item>
      <title>no blank, tab!</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab?ref=Feed:MaplePrimes:How can I printf a tab?:Comments#comment129805</link>
      <itunes:summary>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for the answer! But thats not exactly what I want. I don't need a blank sign. I need this "space" or "formatting" like if you press the "tabulator"-key. The problem is, that this txt-file will be opened and used by a machine for etching some chemical stuff. And this machine only recognizes "tabs" like from the tab-key. Do you have any idea how I could produce that? :-(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for the answer! But thats not exactly what I want. I don't need a blank sign. I need this "space" or "formatting" like if you press the "tabulator"-key. The problem is, that this txt-file will be opened and used by a machine for etching some chemical stuff. And this machine only recognizes "tabs" like from the tab-key. Do you have any idea how I could produce that? :-(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>129805</guid>
      <pubDate>Thu, 19 Jan 2012 17:42:40 Z</pubDate>
      <itunes:author>Xilyte</itunes:author>
      <author>Xilyte</author>
    </item>
    <item>
      <title>escaped symbols</title>
      <link>http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab?ref=Feed:MaplePrimes:How can I printf a tab?:Comments#comment129816</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab#comment129805"&gt;@Xilyte&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=backslash' target='_new'&gt;?backslash&lt;/a&gt; for more escaped symbols. Most of them (includding \t i.e. 09h in ascii) same as in pure "c" language.&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/129803-How-Can-I-Printf-A-Tab#comment129805"&gt;@Xilyte&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=backslash' target='_new'&gt;?backslash&lt;/a&gt; for more escaped symbols. Most of them (includding \t i.e. 09h in ascii) same as in pure "c" language.&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>129816</guid>
      <pubDate>Thu, 19 Jan 2012 21:22:49 Z</pubDate>
      <itunes:author>icegood</itunes:author>
      <author>icegood</author>
    </item>
  </channel>
</rss>