<?xml version="1.0" ?><rss version="2.0">
<channel>
	<title>VOSS 3.1 - Group</title>
	<link>http://voss.logicarts.com/forum?group=1</link>
	<description><![CDATA[Database Management for Smalltalk]]></description>
	<generator>Simple Forum Version 2.1</generator>
<item>
	<title>John Clapperton on voIsEqualTo:</title>
	<link>http://voss.logicarts.com/forum?forum=5&#38;topic=9</link>
	<category>Invalid Defect Reports</category>
	<guid isPermaLink="true">http://voss.logicarts.com/forum?forum=5&#38;topic=9#p19</guid>
	<description><![CDATA[<p>
Forum support suggest&#160;in <a href="http://www.stuff.yellowswordfish.com/support-forum/simple-forum/bad-post-rendering-black-skin/page-1/">http://www.stuff.yellowswordfish.com/support-forum/simple-forum/bad-post-rendering-black-skin/page-1/</a>&#160;that the rendering problem is due to html in the post. It&#8217;s probably best to paste plain text and edit as required in the forum editor.
</p>
<p>
For best readability, VOSS source code assumes Tabs expanded to four spaces; this can be done in a Smalltalk workspace using String&#62;&#62;voWithTabsExpanded.
</p>
<p>
Regards<br />
John</p>

]]></description>
	<pubDate>Saturday, 1 March 2008</pubDate>
</item>
<item>
	<title>John Clapperton on voIsEqualTo:</title>
	<link>http://voss.logicarts.com/forum?forum=5&#38;topic=9</link>
	<category>Invalid Defect Reports</category>
	<guid isPermaLink="true">http://voss.logicarts.com/forum?forum=5&#38;topic=9#p14</guid>
	<description><![CDATA[<p>
Hi Thomas,
</p>
<p>
If&#160;the receiver and anObject are both VORefs, but with different vid and/or voManager they still could be equal, although different virtual objects.
</p>
<p>
&#124; a b &#124;<br />
a := (Array with: &#8216;hello&#8217; with: &#8216;world&#8217;) madeVirtual.<br />
b := (Array with: &#8216;hello&#8217; with: &#8216;world&#8217;) madeVirtual.<br />
a voIsEqualTo: b =&#62; true<br />
&#160;<br />
VORefPublic&#62;&#62;voAreYou: tests logical identity, which would returns false in the above.
</p>
<p>
I&#8217;m looking into the incorrect rendering of your post.
</p>
<p>
John
</p>
<p>
&#62;&#62;&#62;
</p>
<p>
voIsEqualTo: Hello John,I&#180;m not sure but should the check, if two virtual objects&#160; are the same answer false in the case of anObjct is a VORefs and their vid is not the same? (Assuming the voManger is the same) So the code should look like this?&#160; <br />
voIsEqualTo: anObject <br />
&#34;Private - Answer true if the receiver&#8217;s virtual
</p>
<p>
object and anObject are equal, else answer false. <br />
anObject may or may not be a VOR.&#34; <br />
&#160; &#124; myObject bObject &#124; <br />
&#160; self == anObject ifTrue: [^true]. &#34;the same VOR&#34; <br />
&#160; anObject isVOR <br />
&#160; ifTrue: <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ ( id = anObject vid and: <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [self voManager == anObject voManager] <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ) <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ifTrue: [^true].&#160; &#34;logically the same object&#34; <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ^false <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]. <br />
&#160; <br />
&#160; myObject := self voPeek. <br />
&#160; bObject := anObject voPeek. &#34;could just be anObject&#34; <br />
&#160; myObject == bObject <br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ifTrue: [^true]. &#34;the same object&#34; <br />
&#160; <br />
&#160;^myObject = bObject <br />
Greetings Thomas
</p>
<p>
&#60;&#60;&#60;</p>

]]></description>
	<pubDate>Friday, 29 February 2008</pubDate>
</item>
<item>
	<title>Thomas Holzer on voIsEqualTo:</title>
	<link>http://voss.logicarts.com/forum?forum=5&#38;topic=9</link>
	<category>Invalid Defect Reports</category>
	<guid isPermaLink="true">http://voss.logicarts.com/forum?forum=5&#38;topic=9#p9</guid>
	<description><![CDATA[<p><span><font size="3"><font face="Calibri">voIsEqualTo: </font></font></span><span><font size="3"><font face="Calibri">Hello John,</font></font></span><span><font size="3"><font face="Calibri">I&#180;m not sure but should the check, if two virtual objects <span>&#160;</span>are the same answer false in the case of anObjct is a VORefs and their vid is not the same? (Assuming the voManger is the same) So the code should look like this?</font></font></span><span><font face="Calibri" size="3">&#160;</font></span><span><font face="Calibri"><span class="sfcode"><span></span></span></font></span><span><font face="Calibri"><span class="sfcode"><span><font face="Calibri"><span><font size="3"><font color="#000000"><span class="sfcode"><span><font face="Calibri"> </p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font size="3"><font color="#000000">voIsEqualTo: anObject</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri" size="3">&#34;Private - Answer true if the receiver&#8217;s virtual</font></span>
</p>
<p></font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri" size="3">object and anObject are equal, else answer false.</font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri" size="3">anObject may or may not be a VOR.&#34;</font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>&#124; myObject bObject &#124;</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>self == anObject ifTrue: [^true]. &#34;the same VOR&#34;</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>anObject isVOR</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>ifTrue:</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>[ ( id = anObject vid and:</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>[self voManager == anObject voManager]</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span>&#160; </span>)</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span>&#160; </span>ifTrue: [^true].<span>&#160; </span>&#34;logically the same object&#34;</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span>&#160;<strong> </strong></span><strong>^false</strong></font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>].</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
&#160;
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>myObject := self voPeek.</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>bObject := anObject voPeek. &#34;could just be anObject&#34;</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160; </span>myObject == bObject</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>ifTrue: [^true]. &#34;the same object&#34;</font></font></span>
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
&#160;
</p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal">
<span><font face="Calibri"><font size="3"><span>&#160;</span>^myObject = bObject</font></font></span>
</p>
<p></span></font></font></span></font></span></span></font></span><span><font size="3"><font face="Calibri">Greetings Thomas</font></font></span></p>

]]></description>
	<pubDate>Friday, 29 February 2008</pubDate>
</item>
</channel>
</rss>