|
-
Jun 27th, 2001, 11:38 AM
#1
Help!!!! Why Doesn't This Work?? Arghh!!!!
Can anyone tell me why this doesn't work????
VB Code:
Option Compare Text
Sub Main
Dim objEmployee as MicrosoftCorp.Employee
For Each objEmployee In Microsoft.Employees
If objEmployee.fullName Like "Bill Gates" Then
Call doPainfullDeath(objEmployee)
Else
Set objEmployee = Nothing
End If
Next
End Sub
-
Jun 27th, 2001, 12:21 PM
#2
Frenzied Member
Re: Help!!!! Why Doesn't This Work?? Arghh!!!!
Because his birth name isn't Bill. Besides, I'm not sure setting the other employees to nothing helps.
VB Code:
Option Compare Text
Sub Main
Dim objEmployee as MicrosoftCorp.Employee
For Each objEmployee In Microsoft.Employees
If objEmployee.LastName Like "Gates" Then
call doPainfullDeath(objEmployee)
Else
if !(ReTrain(objEmployee)) then Set objEmployee = Nothing
End If
Next
End Sub
I'm not sure what Bill's name is, so we will just have to do away with all the employees with the last name of Gates.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 27th, 2001, 12:26 PM
#3
-
Jun 27th, 2001, 06:51 PM
#4
New Member
I'm pretty sure it's William Jefferson Gates (his fornames he shares with Bill Clinton)
I'm the big bad boss man 
-
Jun 27th, 2001, 06:54 PM
#5
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|