From: Dr J R Stockton on
In comp.lang.javascript message <hbjkaf$u1$02$1(a)news.t-online.com>, Tue,
20 Oct 2009 08:11:27, Stevo <no(a)mail.invalid> posted:
>
>It doesn't take long for people to figure out how unfriendly
>PointedEars is. It's weird isn't it, if he only knew how to communicate
>in a friendly manner he might well become a hero around here. Instead
>though, despite his obvious knowledge, he makes enemies here every day.

<FAQENTRY> It's time that there was a FAQ section about Pointy. His
routine insistence on reading the FAQ would then become even more
beneficial.

Perhaps he should be cross-posted into de.sci.medizin.psychiatrie, which
has activity; or de.sci.*.

--
(c) John Stockton, nr London UK. ???@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
From: The Natural Philosopher on
Jorge wrote:
> On Oct 21, 12:50 am, SAM <stephanemoriaux.NoAd...(a)wanadoo.fr.invalid>
> wrote:
>> Le 10/20/09 11:05 PM, Jorge a écrit :
>>
>>
>>
>>
>>
>>> On Oct 20, 10:55 pm, The Natural Philosopher <t...(a)invalid.invalid>
>>> wrote:
>>>> Jorge wrote:
>>>>> On Oct 20, 10:40 pm, The Natural Philosopher <t...(a)invalid.invalid>
>>>>> wrote:
>>>>>> Jorge wrote:
>>>>>>> The truly "alternative" if syntax is :-)
>>>>>>> res += ( ((i * j) % 8) && " " ) || "*";
>>>>>> Cute, and getting cuter...
>>>>>> Hey Jorge, set up a call table in an array
>>>>> Yeah ! You're right ! I forgot that one !
>>>>> a= [" ", "*"];
>>>>> res+= a[!((i * j) % 8)];
>>>>> :-)
>>>>> --
>>>>> Jorge.
>>>> Better, but no banana
>>>> given
>>>> function return_star()
>>>> {
>>>> return "*";}
>>>> f8uncton return_blamk()
>>>> {
>>>> return " ";
>>>> }
>>>> now set up an array and a function that calls the correct one by
>>>> indexing off an array.
>>> That's the same as above, just put functions into the array to have
>>> them called afterwards:
>>> a= [fBlank, fStar];
>>> res+= a[!((i * j) % 8)]();
>> ? ? ?
>>
>> javascript:b=function(){return'blank'};c=function(){return'star'};a=[b,c];a lert(a[!(250.23*2)%8]());
>> javascript:b=function(){return'blank'};c=function(){return'star'};a=[b,c];a lert(a[!('z'*2)%8]());
>>
>> javascript:b=function(){return'blank'};c=function(){return'star'};a=[b,c];a lert((250.23*2)%8);alert(!((250.23*2)%8));alert(a[!((250.23*2)%8)]());
>
>
> Oh yes, I see, a + is needed in front of the !...
>
> b=function(){return'blank'};
> c=function(){return'star'};
> a=[b,c];
> alert(a[+!(((250.23*2))%8)]());
> alert(a[+!((64*27)%8)]());
>
> --
> Jorge.

I am truly impressed.
From: Jorge on
On Oct 21, 11:23 pm, The Natural Philosopher <t...(a)invalid.invalid>
wrote:
>
> I am truly impressed.

Me too.
--
Jorge.
From: SAM on
Le 10/21/09 11:43 PM, Jorge a �crit :
> On Oct 21, 11:23 pm, The Natural Philosopher <t...(a)invalid.invalid>
> wrote:
>> I am truly impressed.
>
> Me too.

Violins ;-)

--
sm