Put parens around the string.  : is executed first.

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Anssi Seppälä
> Sent: Tuesday, March 11, 2008 2:58 PM
> To: Programming forum
> Subject: [Jprogramming] Open quotes - why
> 
> I can define function from a string:
>         3 :'myfunc ,'''''
> +-+-+----------+
> |3|:|myfunc ,''|
> +-+-+----------+
> 
> but if I try to put something between the quotes
> 
>         3 :'myfunc ,''','1',''''
> |open quote
> |   myfunc ,'
> |           ^
> |       3 :'myfunc ,''','1',''''
> 
> although the string is correct
>         'myfunc ,''','1',''''
> myfunc ,'1'
> 
> Bug or total misunderstanding?
> 
> Anssi
> 
> ----------------------------------------------------------------------
> 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