<HTML><FONT FACE=arial,helvetica><HTML><FONT SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0">In a message dated 11/27/2004 6:18:29 PM Eastern Standard Time, kenbrody@bestweb.net writes:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">I didn't see the message to which John is replying, but...<BR>
<BR>
I see nothing "counter-intuitive" about declarations being just that.<BR>
They declare the variable. They do not generate any code. They do not<BR>
need to be executed.<BR>
<BR>
And, excluding Visual BASIC's "DIM" command, nothing else comes to mind<BR>
as an example of "most other computer languages" where you must actually<BR>
execute a variable declaration. (Not that I've thought about it very<BR>
hard, mind you.)<BR>
<BR>
</BLOCKQUOTE><BR>
<BR>
Ken:<BR>
<BR>
Well, filePro processing was roughly based on Basic...<BR>
In TrueBASIC, one uses a DIM statement at the beginning, usually setting an array to minimal dimensions (i.e., 1); then, in the body of the code, a MAT REDIM statement is inserted to resize the array to fit the current running problem. This is probably what the original poster had in mind.<BR>
<BR>
I've checked through some of my existing filePro commercial code and cannot find any place where I've conditionally DIM'd an array by itself. I did find one place where I did that along with setting other variables on the same line. No harm, no foul, I guess. There is no syntax error or warning message if one defines an array with an If statement. Something like: "Note: the array will be defined whether the condition is true or not." The only downside is an increase in memory, which given the tremendous amount of RAM in existing computers, is not a problem...at lease most of the time.<BR>
<BR>
As far as HTML mail, I'm using whatever AOL 8.0 mails; my AOL 9.0 program crashed a long time ago--some C language DLL seems to be corrupted and uninstalling and reinstalling doesn't correct the problem. If I could configure AOL 8.0 to send out plain text I certainly would.<BR>
<BR>
Regards,<BR>
RWS<BR>
transpower@aol.com<BR>
</FONT></HTML>