<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Trying to replace Pause statement]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=668&amp;type=atom" />
	<updated>2018-01-23T12:48:21Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=668</id>
		<entry>
			<title type="html"><![CDATA[Re: Trying to replace Pause statement]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3104#p3104" />
			<content type="html"><![CDATA[<p>Bob,</p><p>I believe the <em>PAUSE</em> statement was an extension as opposed to a standard, deprecated language feature.&nbsp; Regardless, your code should be working.&nbsp; In between these calls for reading from the console, do you ever access units 5 or 6?&nbsp; If unit 5 or 6 is redefined to point at a file, it actually changes the standard input and output to that file, meaning your <em>Read</em> statement is actually reading from the file.&nbsp; I would initially check that.&nbsp; Units under 20 or so can be extremely dangerous to use since some compilers have hard-coded definition of these unit numbers.&nbsp; Our compiler, for example, hard-codes the standard input and output to units 5 and 6.</p><p>You can also use the <em>SLEEP</em> function to slow things down at certain points.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2018-01-23T12:48:21Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3104#p3104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Trying to replace Pause statement]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3102#p3102" />
			<content type="html"><![CDATA[<p>In order to check the progress of my code, I use&nbsp; a print statement followed by a Read statement<br /> that should halt execution and wait for a key press.<br />Print *, &quot; Begin Pass 56 on 20 Jan 2018&nbsp; Enter any key then press enter&quot;<br />Read(*,*)anyKey&nbsp; <br />always&nbsp; halts execution<br />But further on in the code:</p><p>Print *, &quot; Does this line appear after the grid is displayed ?&quot; <br />Read(*,*)anyKey</p><p>Does not halt execution.</p><p>Also, I think the Pause statement is deprecated ?</p><p>Bob</p>]]></content>
			<author>
				<name><![CDATA[Bob]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=3602</uri>
			</author>
			<updated>2018-01-22T20:22:20Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3102#p3102</id>
		</entry>
</feed>
