[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Array difficulties



I won't disagree with you, but any difference in performace between these two 
commands would be magnified if the
commands are used in a loop (such as an SQR select statement) which has many 
iterations.

On the flip side, if using the MOVE command means having to write more steps, 
this could increase clutter as well as the
overall length of your code.

>From what I've seen, there are valid arguments on both sides of this issue, 
>and the decision could be better made on a
case-by-case basis.

- Mark


-----Original Message-----
From: the dragon [mailto:ceprn@HOTMAIL.COM]
Sent: Wednesday, June 13, 2001 3:44 PM
To: SQR-USERS@list.iex.net
Subject: Re: Array difficulties


from what I understand, move is better than let for numeric assignments, but
let should be used for other then numeric assingments, such as character.
Additionally, let has many more options than move for modifying the data
being assigned.  I *always* use let for all my assignments, foregoing the
minimal performance loss of a move for numeric assignments, to keep the code
looking uniform.

clark 'the dragon' willis
dragon enterprises, consulting services


----Original Message Follows----

A related question:

What assignment functions are most efficient? For example, I hear that
"MOVE" is better than "LET". Are there other commands that are similar in
function where one is better to use than the other?

Curious Bob

-----Original Message-----


I agree with Don (for once :-) ).  I have never had a problem with an &
variable, as long as I used it correctly, and I've been programming with sqr
for 7 years now.  Changing everything into a $ or # variable just adds
clutter and overhead to the program unless you need to do so for a
compelling reason, such as flat file output or whatever.

clark 'the dragon' willis
dragon enterprises, consulting services



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.