<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — List CALL statements]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=271</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=271&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in List CALL statements.]]></description>
		<lastBuildDate>Tue, 26 Nov 2013 18:54:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: List CALL statements]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1083#p1083</link>
			<description><![CDATA[<p>John,</p><p>This feature is on the todo list, and some of the necessary code already exists.&nbsp; The problem is that this search is simple in only specific circumstances.&nbsp; If you&#039;re programming using Fortran 90+ modules, this search becomes drastically more complicated quickly.&nbsp; Consider for a moment a module <em>mod1</em> that contains a subroutine named <em>sub1</em>.&nbsp; To find all references to this particular <em>sub1</em>, you first have to find all subprogram units that have <em>use</em>d <em>mod1</em>.&nbsp; You then also need to make sure that it hasn&#039;t limited the use of <em>mod1</em> via an <em>only:</em> specification.&nbsp; Additionally, it&#039;s perfectly valid for <em>mod2</em> to contain a subroutine also named <em>sub1</em>.&nbsp; However, in your search, you wouldn&#039;t want to include that result as it isn&#039;t the <em>sub1</em> you&#039;re looking for.&nbsp; </p><p>The problem is somewhat complicated though obviously solvable.&nbsp; The autocomplete function does solve the issue for the current position in code right now, for example.&nbsp; It should only report visible (within the scope) functions, subroutines, and modules as suggestions.&nbsp; </p><p>There is some initial work towards exactly what you&#039;re suggesting.&nbsp; However, it was sidetracked by some other more important projects (the debugger, mainly).&nbsp; I do plan on getting back to it now.&nbsp; No promises on a delivery time frame, though.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 26 Nov 2013 18:54:07 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1083#p1083</guid>
		</item>
		<item>
			<title><![CDATA[List CALL statements]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1080#p1080</link>
			<description><![CDATA[<p>By using the &#039;Text Search&#039; icon to switch to the search panel, one can search for a text string anywhere in the current project, obtain a list of the source files containing it, then double click one of them and open it with teh cursor on the searched-for string.</p><p>I&#039;d very much like to see this expanded to search for the code that calls a particular subroutine.&nbsp; I envisage right clicking (or double-clicking) on a subroutine or function title (at the top of that sub-program), or selecting a menu entry obtained from a right click anywhere inside the routine, to switch to the text search panel with a list of all instances where that sub-program is called or invoked.</p><p>It sounds not too hard to implement and it would be a nice addition.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Mon, 25 Nov 2013 18:19:28 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1080#p1080</guid>
		</item>
	</channel>
</rss>
