<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PowerBASIC Users Meeting Point - PowerBASIC Console Compiler]]></title>
		<link>http://pump.richheimer.de/</link>
		<description><![CDATA[PowerBASIC Users Meeting Point - http://pump.richheimer.de]]></description>
		<pubDate>Fri, 01 May 2026 03:52:45 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[$EOF when using Line Input#]]></title>
			<link>http://pump.richheimer.de/showthread.php?tid=49</link>
			<pubDate>Wed, 12 Mar 2025 07:25:16 +0000</pubDate>
			<dc:creator><![CDATA[<a href="http://pump.richheimer.de/member.php?action=profile&uid=1">Albert Richheimer</a>]]></dc:creator>
			<guid isPermaLink="false">http://pump.richheimer.de/showthread.php?tid=49</guid>
			<description><![CDATA[Source code moved from <a href="http://pump.richheimer.de/showthread.php?tid=46&amp;pid=277#pid277" target="_blank" rel="noopener" class="mycode_url">PB DOS</a> over here, in reply to @Andy Dee:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#compile exe<br />
#dim all<br />
<br />
function pbmain () as long<br />
    local hFile as long<br />
    local sFile as string<br />
    local sTemp as string<br />
<br />
    '<br />
    ' Setup strings<br />
    ' -------------<br />
    '<br />
    sTemp = "ABCDEF" + &#36;EOF + "abcdef"<br />
    sFile = "Data.txt"<br />
<br />
    '<br />
    ' Create Data.txt<br />
    ' ---------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for output as #hFile<br />
    print #hFile,sTemp;<br />
    close #hFile<br />
<br />
    '<br />
    ' Read Data.txt using get&#36;<br />
    ' ------------------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for binary as #hFile<br />
    get&#36; #hFile,lof(hFile),sTemp<br />
    close #hFile<br />
    stdout "Using get&#36;:        "+sTemp<br />
<br />
    '<br />
    ' Read Data.txt using line input#<br />
    ' -------------------------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for input as #hFile<br />
    line input #hFile,sTemp<br />
    close #hFile<br />
    stdout "Using line input#: "+sTemp<br />
<br />
    '<br />
    ' Clean up<br />
    ' --------<br />
    '<br />
    kill sFile<br />
<br />
end function</code></div></div>]]></description>
			<content:encoded><![CDATA[Source code moved from <a href="http://pump.richheimer.de/showthread.php?tid=46&amp;pid=277#pid277" target="_blank" rel="noopener" class="mycode_url">PB DOS</a> over here, in reply to @Andy Dee:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#compile exe<br />
#dim all<br />
<br />
function pbmain () as long<br />
    local hFile as long<br />
    local sFile as string<br />
    local sTemp as string<br />
<br />
    '<br />
    ' Setup strings<br />
    ' -------------<br />
    '<br />
    sTemp = "ABCDEF" + &#36;EOF + "abcdef"<br />
    sFile = "Data.txt"<br />
<br />
    '<br />
    ' Create Data.txt<br />
    ' ---------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for output as #hFile<br />
    print #hFile,sTemp;<br />
    close #hFile<br />
<br />
    '<br />
    ' Read Data.txt using get&#36;<br />
    ' ------------------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for binary as #hFile<br />
    get&#36; #hFile,lof(hFile),sTemp<br />
    close #hFile<br />
    stdout "Using get&#36;:        "+sTemp<br />
<br />
    '<br />
    ' Read Data.txt using line input#<br />
    ' -------------------------------<br />
    '<br />
    hFile = freefile<br />
    open sFile for input as #hFile<br />
    line input #hFile,sTemp<br />
    close #hFile<br />
    stdout "Using line input#: "+sTemp<br />
<br />
    '<br />
    ' Clean up<br />
    ' --------<br />
    '<br />
    kill sFile<br />
<br />
end function</code></div></div>]]></content:encoded>
		</item>
	</channel>
</rss>