POV-Ray : Newsgroups : povray.off-topic : snicker Server Time
2 Nov 2024 19:16:12 EDT (-0400)
  snicker (Message 1 to 2 of 2)  
From: Darren New
Subject: snicker
Date: 8 Apr 2008 22:12:04
Message: <47fc25f4$1@news.povray.org>
I do love it when someone is *subtle* about it...

 From the erlang FAQ:
"""
The solution is usually to use case instead. Case is used much more 
frequently than if in most Erlang programs:

issue_warning() ->
   case os:type() of
     {win32, windows} ->
        ok = io:fwrite("you are using windows\n");
      _ -> ok = io:fwrite("no problem\n")
   end.
"""

I even read that a couple times before I realized it was a bash. :-)

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: andrel
Subject: Re: snicker
Date: 9 Apr 2008 01:40:12
Message: <47FC56DD.4060100@hotmail.com>
Darren New wrote:
> I do love it when someone is *subtle* about it...
> 
>  From the erlang FAQ:
> """
> The solution is usually to use case instead. Case is used much more 
> frequently than if in most Erlang programs:
> 
> issue_warning() ->
>   case os:type() of
>     {win32, windows} ->
>        ok = io:fwrite("you are using windows\n");
>      _ -> ok = io:fwrite("no problem\n")
>   end.
> """
> 
> I even read that a couple times before I realized it was a bash. :-)
> 
I think it is a reference to that infamous warning of a windows beta 
when you used another DOS than MS-DOS. Back in those days that MS still 
made the distinction between an OS and a GUI.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.