The Glade 4.0

"Turn the lights down, the party just got wilder."
It is currently Sat Nov 23, 2024 9:43 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Wed Mar 28, 2012 9:24 pm 
Offline
User avatar

Joined: Thu Sep 03, 2009 11:05 am
Posts: 1111
Location: Phoenix
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 29, 2012 12:12 am 
Offline
Lean, Mean, Googling Machine
User avatar

Joined: Thu Sep 03, 2009 9:35 am
Posts: 2903
Location: Maze of twisty little passages, all alike
James while John had had had had had had had had had had had a better effect on the teacher

Edit:

While we're at it:

One ghoti
Two ghoti
Red ghoti
Blue ghoti

_________________
Sail forth! steer for the deep waters only!
Reckless, O soul, exploring, I with thee, and thou with me;
For we are bound where mariner has not yet dared to go,
And we will risk the ship, ourselves and all.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 3:49 am 
Offline
Bull Moose
User avatar

Joined: Wed Sep 02, 2009 7:36 pm
Posts: 7507
Location: Last Western Stop of the Pony Express
No.

_________________
The U. S. Constitution doesn't guarantee happiness, only the pursuit of it. You have to catch up with it yourself. B. Franklin

"A mind needs books like a sword needs a whetstone." -- Tyrion Lannister, A Game of Thrones


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 29, 2012 7:10 am 
Offline
User avatar

Joined: Wed Feb 03, 2010 8:20 am
Posts: 1037
Aegnor wrote:
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.


Mushroom. MUSHROOM!

_________________
Image Image Image Image Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 8:03 am 
Offline
Bull Moose
User avatar

Joined: Wed Sep 02, 2009 7:36 pm
Posts: 7507
Location: Last Western Stop of the Pony Express
10 say "Badger"
20 go to 10

_________________
The U. S. Constitution doesn't guarantee happiness, only the pursuit of it. You have to catch up with it yourself. B. Franklin

"A mind needs books like a sword needs a whetstone." -- Tyrion Lannister, A Game of Thrones


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Thu Mar 29, 2012 8:42 am 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
Micheal wrote:
10 say "Badger"
20 go to 10
How about ...

5 BadgerCount = 0
6 MushroomCount = 0
10 say "Badger"
15 BadgerCount = BadgerCount + 1
20 if BadgerCount = 12 then gosub 30 else goto 10
30 BadgerCount = 0
35 if MushroomCount = 3 then goto 40 else goto 36
36 say "Mushroom"
37 MushroomCount = MushroomCount + 1
38 goto 50
40 say "Eeek, a snake!"
45 MushroomCount = 0
50 return

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 9:06 am 
Offline
Bull Moose
User avatar

Joined: Wed Sep 02, 2009 7:36 pm
Posts: 7507
Location: Last Western Stop of the Pony Express
That is for the lead singers Shel, I'm just doing back-up chorus. Good program though.

_________________
The U. S. Constitution doesn't guarantee happiness, only the pursuit of it. You have to catch up with it yourself. B. Franklin

"A mind needs books like a sword needs a whetstone." -- Tyrion Lannister, A Game of Thrones


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 9:41 am 
Offline
User avatar

Joined: Thu Sep 03, 2009 11:05 am
Posts: 1111
Location: Phoenix
The sentence I wrote is expressing that buffalo from the city of Buffalo, who are buffaloed by other buffalo from Buffalo, in turn buffalo other buffalo from Buffalo. Or if I replace each set of Buffalo buffalo with a different animal you would get:

Cats dogs buffalo buffalo chickens.


Top
 Profile  
Reply with quote  
 Post subject: Re: Re:
PostPosted: Thu Mar 29, 2012 9:50 am 
Offline
User avatar

Joined: Wed Feb 03, 2010 8:20 am
Posts: 1037
Shelgeyr wrote:
How about ...

5 BadgerCount = 0
6 MushroomCount = 0
...


Sorry, not enterprisey enough.

Code:
'Basic animal structure with implemented subclasses.
'Eventually will migrate to Oracle backend

Public Enum AnimalType As Integer
    Badger
    Snake
    Mushroom 'vlad - added 3/29/12 per compliance, yes we know it's not an animal
End Enum

'2/1/10 coding standards mandate abstraction
Public MustInherit Class Animal
    Friend atTypeName As AnimalType
    Friend strNoise As String
    Public MustOverride ReadOnly Property TypeName() As AnimalType
    Public MustOverride ReadOnly Property Noise() As String
End Class

Public Class Badger
    Inherits Animal

    Public Sub New(ByVal TypeName As AnimalType, ByVal Noise As String)
        atTypeName = TypeName
        strNoise = Noise
    End Sub
    Public Overrides ReadOnly Property TypeName() As AnimalType
        Get
            Return AnimalType.Badger   'todo remove hardcode
        End Get
    End Property
    Public Overrides ReadOnly Property Noise() As String
        Get
            Return strNoise
            'Return "Badger."  '11/7/10 removed hardcoding
        End Get
    End Property
End Class


Public Class AnimalFactory
    Implements IEnterpriseCreatureFactory

    Public Function CreateAnimal(ByVal eAnimalType As AnimalType) As Animal
        Select Case eAnimalType
            Case AnimalType.Badger
                Return New Badger(AnimalType.Badger, "Badger.")
            Case AnimalType.Snake
                'Return New Snake(AnimalType.Snake, "Snake.")
            Case AnimalType.Mushroom
                'todo add mushroom
        End Select
    End Function

End Class


_________________
Image Image Image Image Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 2:09 pm 
Offline
User avatar

Joined: Thu Sep 03, 2009 11:05 am
Posts: 1111
Location: Phoenix
Lol, Vlad's been reading thedailywtf.com.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 2:22 pm 
Offline
God of the IRC
User avatar

Joined: Wed Sep 02, 2009 7:35 pm
Posts: 3041
Location: The United States of DESU
Great site.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 29, 2012 2:35 pm 
Offline
User avatar

Joined: Wed Feb 03, 2010 8:20 am
Posts: 1037
Yeah, that'd be Badger, Snake, FileNotFound.

:D

_________________
Image Image Image Image Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 156 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group