> From: Saunders, John (Health)
> 
> Hello I have the below line to test if an integer is a palindrome but
> couldn't work out how to do this tacitly could anyone kindly provide a
> tacit example ?
> 
> |.": y = ":y
> 

Not sure that your verb works?
Here are two tacit options:

isPalin0=: = |.&.":
isPalin1=: (-: |.)@":

   isPalin0 134431
1
   isPalin0 1344312
0
   isPalin1 134431
1
   isPalin1 1344312
0
   
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to