<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — about checkboxsetchecked]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=888&amp;type=atom" />
	<updated>2023-02-26T18:08:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=888</id>
		<entry>
			<title type="html"><![CDATA[Re: about checkboxsetchecked]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4076#p4076" />
			<content type="html"><![CDATA[<p>The <em>checkboxsetchecked</em> call is a direct C call with a Fortran interface, so the actual correct code would be:</p><div class="codebox"><pre><code>use iso_c_binding
   ...
   call checkboxsetchecked(CheckBoxNum(i),LOGICAL(.TRUE.,kind=c_bool))</code></pre></div>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2023-02-26T18:08:58Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4076#p4076</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[about checkboxsetchecked]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4075#p4075" />
			<content type="html"><![CDATA[<p>It is wrong in SF3.26:<br />call checkboxsetchecked(CheckBoxNum(i),.TRUE.)<br />Error: Type mismatch in argument &#039;v&#039; at (1); passed LOGICAL(4) to LOGICAL(1)</p><p>It is right:<br />call checkboxsetchecked(CheckBoxNum(i),LOGICAL(.TRUE.,1))</p>]]></content>
			<author>
				<name><![CDATA[weixing1531]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3945</uri>
			</author>
			<updated>2023-02-26T05:14:51Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4075#p4075</id>
		</entry>
</feed>
