July 2000
Intermediate to advanced
492 pages
14h 53m
English
Remove —
objCounter
.Remove(
strCounterName
)
Removes a counter from the Counters component and deletes its entry from the Counters.TXT file. This method has no return value.
strCounterName
A string that represents the name of the counter variable you wish to remove. This name can contain any Unicode character.
The following example demonstrates the use of the Remove method of
the Counters object. This example assumes a Counters object
(gobjOptionCounter) has been instantiated
elsewhere.
<%
' The following code removes the FavGameCounter_Wolf3D
' counter from the gobjOptionCounter object.
gobjOptionCounter.Remove("FavGameCounter_Wolf3D")
%>See the explanation of the Get method earlier in this chapter.
Read now
Unlock full access