<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Character maximal length]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=210</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=210&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Character maximal length.]]></description>
		<lastBuildDate>Wed, 05 Jun 2013 11:48:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Character maximal length]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=814#p814</link>
			<description><![CDATA[<p>John is correct, I believe.&nbsp; The compiler should only allow strings with a length of approximately 2 billion characters.&nbsp; This limit is also the maximum integer representable on the platform.&nbsp; Your string, however, in this case would consume 2GB of memory (plus Fortran overhead), which wouldn&#039;t be possible on 32-bit Windows anyway.&nbsp; </p><p>Incidentally, if you define your string length in source to be too large, the compiler should issue an error, so you won&#039;t run into runtime issues with strings being too long.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 05 Jun 2013 11:48:46 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=814#p814</guid>
		</item>
		<item>
			<title><![CDATA[Re: Character maximal length]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=813#p813</link>
			<description><![CDATA[<p>The max length for a character depends on the compiler you&#039;re using.&nbsp; Simply Fortran, by default, uses gfortran, but I can&#039;t find the maximum length for them.&nbsp; However, I found that the NAG compiler has a limit of 2,147,483,647.&nbsp; Regardless of how close that is to gfortran&#039;s limit, I think you&#039;re fine with 500 or more.</p>]]></description>
			<author><![CDATA[null@example.com (jshahbazi)]]></author>
			<pubDate>Tue, 04 Jun 2013 17:53:43 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=813#p813</guid>
		</item>
		<item>
			<title><![CDATA[Character maximal length]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=812#p812</link>
			<description><![CDATA[<p>Hi,</p><p>Is there a maximal length for character variable? (Like 256 in some F77 compiler). Or I can use a length of 500 or greater if I need to?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (pierre.peclet-ext)]]></author>
			<pubDate>Tue, 04 Jun 2013 07:50:46 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=812#p812</guid>
		</item>
	</channel>
</rss>
