<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Compiles. But nothing happens. Why?]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=887&amp;type=atom" />
	<updated>2023-02-28T00:00:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=887</id>
		<entry>
			<title type="html"><![CDATA[Re: Compiles. But nothing happens. Why?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4077#p4077" />
			<content type="html"><![CDATA[<p>Got it. Thanks Jeff.</p>]]></content>
			<author>
				<name><![CDATA[jackmitchener]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4073</uri>
			</author>
			<updated>2023-02-28T00:00:29Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4077#p4077</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compiles. But nothing happens. Why?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4074#p4074" />
			<content type="html"><![CDATA[<p>No, you can have a program that uses standard input/output and opens graphical windows.&nbsp; Like the option says, clicking &quot;Windows GUI (No Console)&quot; simply disables the standard input/output (or &quot;console&quot;) for said program, meaning standard output unit Print and Write statements go nowhere.&nbsp; </p><p>But if you are making a <em>purely</em> graphical program, you probably don&#039;t want Windows to open a command prompt window every time you run it.&nbsp; That&#039;s all this option does: disable standard input/output if you&#039;re never going to use it.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2023-02-25T17:56:44Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4074#p4074</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compiles. But nothing happens. Why?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4073#p4073" />
			<content type="html"><![CDATA[<p>I&#039;d intended (after getting data from user) to then represent the data graphicly.&nbsp; Are you saying that the program must be either a console program or a graphics program?&nbsp; Seems I should be able to open a graphics window after getting the data.</p>]]></content>
			<author>
				<name><![CDATA[jackmitchener]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4073</uri>
			</author>
			<updated>2023-02-22T23:18:27Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4073#p4073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Compiles. But nothing happens. Why?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4072#p4072" />
			<content type="html"><![CDATA[<p>It appears that this program <em>was previously</em> an AppGraphics program.&nbsp; Make sure, in <a href="https://simplyfortran.com/docs/full/windows/options/project.html">Project Options</a>, that the <strong>Windows GUI (No Console)</strong> is unchecked.&nbsp; Otherwise, the program&#039;s print and read statements for standard output and input aren&#039;t connected to anything, which I&#039;m guessing is the case here.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2023-02-22T21:05:17Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4072#p4072</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Compiles. But nothing happens. Why?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4071#p4071" />
			<content type="html"><![CDATA[<p>program main<br />!use appgraphics<br />implicit none<br />&nbsp; &nbsp; character mnam(4:15), bblnam(20:20), bblnic(20:6),bblname<br />&nbsp; &nbsp; real siz(20),stx(20),sty(20),stz(20)<br />&nbsp; &nbsp; real vxa(20),vya(20),vx,vy,vz<br />&nbsp; &nbsp; real scx(20),scy(20)<br />&nbsp; &nbsp; integer i, j, k, numbbl<br />&nbsp; &nbsp; !LOAD THE STAGE *****************************************<br />&nbsp; &nbsp; print*,&quot;this program allows you to compare upto 18 contenders.&quot; <br />&nbsp; &nbsp; print*,&quot;They are compared by 4 measures. Please type the names of those measures in order of importance.&quot;<br />&nbsp; &nbsp; i=1<br />&nbsp; &nbsp; do while (i .lt. 5)<br />&nbsp; &nbsp; &nbsp; &nbsp; print*,&quot;name for measure #&quot;,i,&quot;. (upto 15 characters)&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; read*,mnam(i)<br />&nbsp; &nbsp; end do&nbsp; <br />&nbsp; &nbsp; print*,&quot;Thanks. Now type the names of the various contenders (up to 18 names. each upto 20 characters).&quot;<br />&nbsp; &nbsp; print*,&quot;When done, type the next name as &#039;done&#039; .&quot;<br />&nbsp; &nbsp; i=1<br />&nbsp; &nbsp; do while (i .lt. 19)<br />&nbsp; &nbsp; &nbsp; &nbsp; print*,&quot;Long name for option #&quot;,i<br />&nbsp; &nbsp; &nbsp; &nbsp; read*, bblname<br />&nbsp; &nbsp; &nbsp; &nbsp; if (bblname==&quot;done&quot;) then <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numbbl=i-1 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i=19<br />&nbsp; &nbsp; &nbsp; &nbsp; endif&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; print*,&quot;nickname for #&quot;,i<br />&nbsp; &nbsp; &nbsp; &nbsp; read*,bblnic(i)<br />&nbsp; &nbsp; &nbsp; &nbsp; i=i+1<br />&nbsp; &nbsp; end do<br />&nbsp; &nbsp; i=1<br />&nbsp; &nbsp; do while (i .lt. numbbl+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; print*, bblnam(i),&quot; &quot;,bblnic(i)<br />&nbsp; &nbsp; &nbsp; &nbsp; i=i+1<br />&nbsp; &nbsp; end do<br />&nbsp; &nbsp; do while (i .lt. 5)<br />&nbsp; &nbsp; &nbsp; &nbsp; print*,mnam(i)<br />&nbsp; &nbsp; end do<br />&nbsp; &nbsp; !integer::myscreen&nbsp; &nbsp; <br />&nbsp; &nbsp; !myscreen = initwindow(800, 600, closeflag=.TRUE.)<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; !call loop()&nbsp; &nbsp; <br />&nbsp; &nbsp; !call closewindow(myscreen)<br />end program main</p>]]></content>
			<author>
				<name><![CDATA[jackmitchener]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=4073</uri>
			</author>
			<updated>2023-02-22T19:59:30Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4071#p4071</id>
		</entry>
</feed>
