<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV><SPAN class=766481601-23092005><FONT face=Arial color=#0000ff size=2>So 
you're saying that if I have a field without a value on the left hand side, the 
program will fail? But I thought all temporaries default to 0 or blank before 
they are used? This sounds familiar. Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=766481601-23092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> mgo@columbus.rr.com 
[mailto:mgo@columbus.rr.com] <BR><B>Sent:</B> Friday, September 23, 2005 11:15 
AM<BR><B>To:</B> Fernando Olmos; powerh-l@lists.sowder.com<BR><B>Subject:</B> 
RE: I need proof of this...<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><!-- Converted from text/rtf format -->Fernando,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Powerhouse must have a 
constant value or one field that contains a value on the left side of the 
comparison operation. The right side may contain equations or other values that 
can be derived and distilled into a value for the purpose of the 
comparison.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Mike</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> 
powerh-l-bounces+mgo=columbus.rr.com@lists.sowder.com 
[mailto:powerh-l-bounces+mgo=columbus.rr.com@lists.sowder.com] <B><SPAN 
style="FONT-WEIGHT: bold">On Behalf Of 
</SPAN></B>fernando.olmos@hpa.com.au<BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, September 22, 2005 9:07 
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 
powerh-l@lists.sowder.com<BR><B><SPAN 
style="FONT-WEIGHT: bold">Subject:</SPAN></B> I need proof of 
this...</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I cannot remember why I do it this 
way, but I was wondering if someone out there may be able to help me 
remember.</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">For some reason, I write my IF 
statements with the literal FIRST before the item been tested ...</SPAN></FONT> 
</P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">i.e.:&nbsp;&nbsp; if 0 = t_field1 
...</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Some people write it as 
...</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></FONT><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">if t_field1 = 0 ...</SPAN></FONT> 
</P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now I would prefer to do it the 2nd 
way, but I believe there are some cases in Powerhouse where it gets confused if 
you do it like in the 2nd method. I think if you tried ...</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></FONT><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">if index(T_field, "string") &gt; 
0</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">it's not the same as 
...</SPAN></FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">if 0 &lt; 
index (t_field, "string")</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now I know that sounds ridiculous, 
but I did come across problems with this years ago, but I don't remember exactly 
what it was. The point now is that I have got stuck into a habit with the 1st 
method mentioned above.</SPAN></FONT></P>
<P style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Cheers</SPAN></FONT> </P>
<P style="MARGIN-LEFT: 0.5in"><I><FONT face=Arial color=blue size=4><SPAN 
style="FONT-SIZE: 13.5pt; COLOR: blue; FONT-STYLE: italic; FONT-FAMILY: Arial">Fernando 
Olmos</SPAN></FONT></I> <BR><B><FONT face=Arial size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">M.I.S.</SPAN></FONT></B> 
</P>
<P style="MARGIN-LEFT: 0.5in"><B><FONT face=Arial color=blue size=2><SPAN 
lang=EN-AU 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">HPA</SPAN></FONT></B><FONT 
face=Arial><SPAN style="FONT-FAMILY: Arial"><BR></SPAN></FONT><FONT face=Arial 
color=black size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Direct:&nbsp; 03 9217 
5411</SPAN></FONT><BR><FONT face=Arial color=black size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Mobile: 
0410&nbsp;382&nbsp;857</SPAN></FONT><FONT face=Arial><SPAN 
style="FONT-FAMILY: Arial"><BR></SPAN></FONT><FONT face=Arial color=black 
size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Fax:&nbsp;&nbsp; 
&nbsp; 03 9217 5716</SPAN></FONT><SPAN lang=EN-AU> </SPAN></P>
<P style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><A 
href="file:///H:\Appdata\Microsoft\Signatures\www.hpa.com.au"><B><FONT 
face=Arial size=2><SPAN lang=EN-AU 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">www.hpa.com.au</SPAN></FONT></B></A> 
</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
size=3><SPAN 
style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV></BODY></HTML>