Can you make these versions accept an argument without quotes.  That is how
the sample Roger provides appears to work.

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of David Ward
Lambert
Sent: Saturday, August 25, 2012 9:08 AM
To: programming
Subject: Re: [Jprogramming] Print Custom Alphabet

A)
   NB. The requirement for bad input is "no output".
   (,.@]^:('.'e.[)(a.{~,65 97+/26|i.51)&(25{.[|.~1+(i.{.))) ::(0$]) '['
BCDEFGHIJKLMNOPQRSTUVWXYZ

>From: Viktor Cerovski <viktor.cerov...@gmail.com>
>To: programm...@jsoftware.com
>Subject: Re: [Jprogramming] Print Custom Alphabet
>Message-ID: <34347462.p...@talk.nabble.com>


B)

   $}.'A.'
1

Shape of result often prevents me from writing correct sentences at first
try---by now I've learned where to look for my trouble spots.
Some forum authors have posted that instead of worrying about the shape they
insert instructions to make data the shape they need.

>From: bob therriault <bobtherria...@mac.com>
>To: programm...@jsoftware.com
>Subject: Re: [Jprogramming] Generating a sequence
>Message-ID: <142615dc-f232-4923-bc2f-7db060c1c...@mac.com>
>Content-Type: text/plain; CHARSET=US-ASCII
>
>Hi LInda,
>
>I think it has to do with the shape of the }. result. 
>
>  '.'-:}.'t.'
>0
> $'.'  
>
> $}.'t.'  
>1
> ${:'t.'  
>
>  '.'-:{:'t.'
>1
>
>cheers, bob
>
>On 2012-08-25, at 2:18 AM, Linda Alvord wrote:
>
>>   '.'-:}.'t.'


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to