<html><head><title>WriteProgramString</title></head><body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000"><font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">WriteProgramString()</font></b></p><p><b>Syntax</b></p><blockquote><font color="#3A3966"><b>WriteProgramString</b></font>(Program, String$ [, Flags])</blockquote></blockquote><b>Description</b><br><blockquote>Writes the given string to the specified programs input (stdin).</blockquote><p><b>Parameters</b></p><blockquote><style type="text/css">table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }</style><table width="90%" class="parameters"><tr><td width="10%"><i>Program</i></td><td width="90%">The program to use. It must have been started before with <a href="runprogram.html">RunProgram()</a> and the <font color="#924B72">#PB_Program_Write</font> flag.</td></tr><tr><td><i>String$</i></td><td>The string to write. There is no newline written to the program after the string. To include the newline,<a href="writeprogramstringn.html">WriteProgramStringN()</a> may be used. To write raw data to the program,<a href="writeprogramdata.html">WriteProgramData()</a> may be used. This function may also be used to sendan EOF (end of file) to the program which tells the program that there will be no more input.</td></tr><tr><td><i>Flags (optional)</i></td><td>The string format to use when writing the string to the program input.The default format can be affected with the <font color="#924B72">#PB_Program_Ascii</font>, <font color="#924B72">#PB_Program_Unicode</font> and<font color="#924B72">#PB_Program_UTF8</font> flags for <a href="runprogram.html">RunProgram()</a>.This can be one of the following values:<pre><font face="Courier New, Courier, mono"size="2"> <font color="#924B72">#PB_Ascii</font> : Writes the string as ascii (default in ASCII mode)<font color="#924B72">#PB_UTF8</font> : Writes the string as UTF8 (default in unicode mode)<font color="#924B72">#PB_Unicode</font>: Writes the string as <a href="../reference/unicode.html">unicode</a></font></pre></td></tr></table></blockquote><p><b>Return value</b></p><blockquote>None.</blockquote><p><b>See Also</b></p><blockquote><a href="writeprogramstringn.html">WriteProgramStringN()</a>, <a href="readprogramstring.html">ReadProgramString()</a></Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=writeprogramdata.html>WriteProgramData()</a> - <a href="index.html">Process Index</a> - <a href="writeprogramstringn.html">WriteProgramStringN()</a> -><br><br></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型