[Tfug] code won't compile
Christopher Robbins
robbinsc at gmail.com
Mon Oct 8 18:09:54 MST 2007
We're missing a bigger issue here...
You wrote the code in bash!
If you want to get that code working, you need a higher-order,
object-oriented (as the Woman is) language. Write it in something
a bit sexier, like Java or Python. Ruby might be the more obvious
choice here, women seem to prefer them over snakes or coffee.
Refactor it, try it again.
- Chris
On 10/8/07, christopher floess <skeptikos at gmail.com> wrote:
>
> Well I notice you your Woman is single quoted on one side
> you have 'Woman" instead of "Woman"
>
>
> On 10/8/07, Sean Warburton <hl2addict at gmail.com> wrote:
> > hahahah, ok, thanks! I'll recompile it with your suggestions.
> > Sean
> >
> > On 10/8/07, Terence Rudkin <trudkin at gmail.com> wrote:
> > >
> > > It is not an I/O problem it is never getting to the I/O.
> > > as $you is an object ( I know it has to be women are always treaded as
> > > objects ) the test should be
> > > if ( $you.woman ==true and $you.hot == true ) ....
> > >
> > > Also look at how hot is defined. It's definition may be too
> > > restrictive. For initial test may be it should not be in the
> > > comparison. But remember this could be dangerous so when testing
> > > make sure it is in a safe environment.
> > >
> > > Also remember that some say the ELSE condition can cause the display
> > > to go permanently blank, but I don't think so.
> > >
> > >
> > > On 10/8/07, Jim March <1.jim.march at gmail.com> wrote:
> > > > I/O error. Or an interface problem.
> > > >
> > > > On 10/8/07, Sean Warburton <hl2addict at gmail.com> wrote:
> > > > > I can't seem to get this one working...
> > > > >
> > > > > if ($you == 'Woman" and $you == "hot") {$bed = $you . $me}
> > > > > else {$bed = $me . $righthand}
> > > > >
> > > > > it won't compile:)
> > > > > Sean
> > > > >
> > > > > --
> > > > > PC-BSD v.1.4 (beta)
> > > > > ASUS P5N32-SLI Premium
> > > > > Intel Core 2 Duo 6600
> > > > > dual eVGA 7900 GT OCs (full x16 SLI)
> > > > > 2 gigs DDR2 PC2-6400 (OCd to 866MHz)
> > > > > 250 gig RAID 1 (mirroring)
> > > > > custom Liquid cooling :)
> > > > > four 17" CRTs (uber widescreen)
> > > > > 7.1 surround sound (296 watts)
> > > > > one happy gamer
> > > > > _______________________________________________
> > > > > Tucson Free Unix Group - tfug at tfug.org
> > > > > Subscription Options:
> > > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > > >
> > > >
> > > > _______________________________________________
> > > > Tucson Free Unix Group - tfug at tfug.org
> > > > Subscription Options:
> > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >
> > >
> > > _______________________________________________
> > > Tucson Free Unix Group - tfug at tfug.org
> > > Subscription Options:
> > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > >
> >
> >
> >
> > --
> > PC-BSD v.1.4 (beta)
> > ASUS P5N32-SLI Premium
> > Intel Core 2 Duo 6600
> > dual eVGA 7900 GT OCs (full x16 SLI)
> > 2 gigs DDR2 PC2-6400 (OCd to 866MHz)
> > 250 gig RAID 1 (mirroring)
> > custom Liquid cooling :)
> > four 17" CRTs (uber widescreen)
> > 7.1 surround sound (296 watts)
> > one happy gamer
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> >
>
>
> --
> Q: What did the zen buddhist say to the hotdog vendor?
>
> A: Make me one with everything ~ Dr. Jonathan Katz
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
--
Chris Robbins
Systems Programmer
Department of English - University of Arizona
http://www.homerengineeringcorp.net
More information about the tfug
mailing list