It may do a read, or it may simply be a pointer to memory where existing
variables are defined, with the actual value of the variable in a different
location.
However, I can't understand why you'd need to a lock on a variable read
I'm assuming you're referring to locking persistent-scope variables, like
application). The whole purpose of the lock is to ensure data integrity
(prevent writing to a variable while another user is reading it). However,
this shouldn't be the case with reading a variable.
---
Billy Cravens
HR Web Systems, EDS
[EMAIL PROTECTED]
----- Original Message -----
From: "Hinojosa, Robert A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 9:17 AM
Subject: question.
> I received this email on another list and I am almost positive he is
wrong.
> I've read nearly everything there is to know about locking and cf, but I
> wanted to make sure, so I am asking the greats here in this list.
Checking
> for an isDefined("") is actually doing a type of a read, isn't it, so you
> would need a lock around it?
>
> EMAIL:
> Just as a quick note, you don't need to lock variables in an IsDefined("")
> the reason being, you are not reading from it or writing to it.... just
> checking its there.....
>
>
> Robert Hinojosa
> [EMAIL PROTECTED]
> 972.243.4343 x7446
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org