Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Mumps > Re: The `if' co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 22 of 26 Topic 956 of 992
Post > Topic >>

Re: The `if' command

by Duke Normandin <dukeofperl@[EMAIL PROTECTED] > May 4, 2008 at 01:57 PM

On 2008-05-04, Rod Dorman <rodd@[EMAIL PROTECTED]
> wrote:
> In article <FFQSj.209$KB3.87@[EMAIL PROTECTED]
>,
> Duke Normandin  <dukeofperl@[EMAIL PROTECTED]
> wrote:
>>On 2008-05-02, Rod Dorman <rodd@[EMAIL PROTECTED]
> wrote:
>>>   ...
>>> The danger in using ****d references comes from assuming that the
>>> ****d indicator wont change when making subroutine or function
>>> calls. It might work fine when you write and test it but break at some
>>> point in the future if/when the subroutine is changed.
>>>
>>
>>So the most prudent course to take would seem to be to refrain from
>>using such potential booby-traps, would it not?
>
> The choice is yours. I find if you use ****d references only when the
> execution sequence is linear (i.e. no extrinsic function or subroutine
> calls) it isn't a problem.

You bet! Because the context of the ****d references is immediately
apparent because of its close proximity to the original global
variable.

> Note that this assumes you don't have a coding style that (shudder)
> includes GOTO Tag+Offset

Can't comment because I'm not there yet in the tutorial. I'll will keep
this in mind and experiment further when I get there. Thanks.
-- 
Duke Normandin
 




 26 Posts in Topic:
The `if' command
Duke Normandin <dukeof  2008-04-30 03:42:13 
Re: The `if' command
"Maury Pepper"   2008-04-29 23:04:08 
Re: The `if' command
Duke Normandin <dukeof  2008-04-30 11:57:42 
Re: The `if' command
"Maury Pepper"   2008-04-30 10:36:19 
Re: The `if' command
Rob Tweed <rtweed@[EMA  2008-04-30 21:27:44 
Re: The `if' command
Duke Normandin <dukeof  2008-05-01 03:09:48 
Re: The `if' command
"Maury Pepper"   2008-05-01 00:01:48 
Re: The `if' command
Duke Normandin <dukeof  2008-05-02 00:01:24 
Re: The `if' command
Duke Normandin <dukeof  2008-05-01 03:00:26 
Re: The `if' command
Philip Gage <philip@[E  2008-04-30 16:12:07 
Re: The `if' command
Duke Normandin <dukeof  2008-05-01 03:19:45 
Re: The `if' command
Rilian <noway@[EMAIL P  2008-05-01 07:32:10 
Re: The `if' command
Duke Normandin <dukeof  2008-05-02 00:05:07 
Re: The `if' command
"Maury Pepper"   2008-05-01 21:01:16 
Re: The `if' command
Pete <peter.charbonnie  2008-05-01 17:47:45 
Re: The `if' command
Duke Normandin <dukeof  2008-05-02 11:59:01 
Re: The `if' command
Aaron Seidman <aaron@[  2008-05-02 09:20:37 
Re: The `if' command
Duke Normandin <dukeof  2008-05-03 00:25:53 
Re: The `if' command
rodd@[EMAIL PROTECTED] (  2008-05-02 17:41:04 
Re: The `if' command
Duke Normandin <dukeof  2008-05-03 03:07:17 
Re: The `if' command
rodd@[EMAIL PROTECTED] (  2008-05-04 04:56:29 
Re: The `if' command
Duke Normandin <dukeof  2008-05-04 13:57:45 
Re: The `if' command
Pete <peter.charbonnie  2008-05-02 07:28:00 
Re: The `if' command
Duke Normandin <dukeof  2008-05-03 03:23:52 
Re: The `if' command
Rob Tweed <rtweed@[EMA  2008-05-03 12:07:07 
Re: The `if' command
"don" <faydo  2008-05-08 10:04:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:49:01 CDT 2008.