|
 |
asp_web_howto thread: MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
Message #1 by "Oliver Dempsey" <odempsey@b...> on Fri, 29 Dec 2000 22:22:31 -0000
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_005A_01C071E5.D5B2FAE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Can anybody explain this first line of code to me?
MM_paramIsDefined =3D (Request.QueryString(MM_paramName) <> "")
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
The llast line suggests that MM_paramIsDefined will be either "true" or
"false" but I can't see where it is getting it from the first line
Regards
Oliver Dempsey
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by "Wally Burfine" <oopconsultant@h...> on Sat, 30 Dec 2000 18:59:43 -0000
|
|
This first line sets the variable (MM_paramIsDefined) to either true or
false depending upon the result of the comparison.
Wally Burfine
>From: "Oliver Dempsey" <odempsey@b...>
>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>
>To: "ASP Web HowTo" <asp_web_howto@p...>
>Subject: [asp_web_howto] MM_paramIsDefined =
>(Request.QueryString(MM_paramName) <> "")
>Date: Fri, 29 Dec 2000 22:22:31 -0000
>
>Can anybody explain this first line of code to me?
>
> MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
>
>' *** Move To Record: handle 'index' or 'offset' parameter
>
>if (Not MM_paramIsDefined And MM_rsCount <> 0) then
>
>The llast line suggests that MM_paramIsDefined will be either "true" or
>"false" but I can't see where it is getting it from the first line
>
>Regards
>Oliver Dempsey
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Wuttigai Lekklai" <wuttigai@h...> on Sat, 30 Dec 2000 19:15:44
|
|
MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
equal to
If Request.QueryString(MM_paramName) <> "" Then
MM_paramIsDefined = True
Else
MM_paramIsDefined = false
End If
>From: "Oliver Dempsey" <odempsey@b...>
>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>
>To: "ASP Web HowTo" <asp_web_howto@p...>
>Subject: [asp_web_howto] MM_paramIsDefined =
>(Request.QueryString(MM_paramName) <> "")
>Date: Fri, 29 Dec 2000 22:22:31 -0000
>
>Can anybody explain this first line of code to me?
>
> MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
>
>' *** Move To Record: handle 'index' or 'offset' parameter
>
>if (Not MM_paramIsDefined And MM_rsCount <> 0) then
>
>The llast line suggests that MM_paramIsDefined will be either "true" or
>"false" but I can't see where it is getting it from the first line
>
>Regards
>Oliver Dempsey
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #4 by "Martin McIntyre" <martin@m...> on Sun, 31 Dec 2000 00:51:20 -0000
|
|
MM_paramIsDefined is true if:
Request.QueryString(MM_paramName) <> ""
( which is what you would get if you had an if condition
If Request.QueryString(MM_paramName) <> "" then
'do stuff here since it is true
Else
'do stuff here since it is false
)
Otherwise if Request.QueryString(MM_paramName) = "" then MM_paramIsDefined
is false. (Else condition above)
Hope it clears it up.
-----Original Message-----
From: Oliver Dempsey [mailto:odempsey@b...]
Sent: 29 December 2000 22:23
To: ASP Web HowTo
Subject: [asp_web_howto] MM_paramIsDefined
(Request.QueryString(MM_paramName) <> "")
Can anybody explain this first line of code to me?
MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
The llast line suggests that MM_paramIsDefined will be either "true" or
"false" but I can't see where it is getting it from the first line
Regards
Oliver Dempsey
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |