Arthur,

Again,  looking at your "refused" expression
      2 (3&[ (27&[@] , [^2) 'xxxxxxxxx'&[@]) 2
the part I suspect that is giving you problems is
     (27&[@] , [^2)
which you think is a fork, but it is an expression producing the  noun
    27

And because  (27&[@] , [^2)  is a noun, 
   (3&[    (27&[@] , [^2)    'xxxxxxxxx'&[@])
is not a fork  it is (verb  noun  verb)  which is a syntax error.

You may be wanting to do
    (27&[@]  , [  ^  2:)    (5 element fork)

2: is a verb always returning scalar 2 no matter what arguments used
and
right most element in a fork must be a verb (or an expression producing a verb)

Next you use  27&[@] which always returns 27.

You can replace the expression
   27&[@]
with
   27"_
(the "_ on a noun produces a constant verb).

However better still as a left tine of a fork the rules allows a noun which is
interpreted as a constant verb.
 
EG  (2 + *)  add 2 to the result of * acting on left and right (multiplication) 
or 
when used monadically only on the right argument whence it is signum.

But (# + 2) is a syntax error and (3 + 2) is the noun 5.


Review the information about forks here 
https://code.jsoftware.com/wiki/Vocabulary/fork


= = = = = =

Maybe instead of your current expression -
        (3&[ (27&[@] , [^2) 'xxxxxxxxx'&[@])
you may mean
       (3   (27 ,  [ ^ 2"_)   'xxxxxxxxx'"_)
or 
       (3   (27 ,  [ ^ 2:)     'xxxxxxxxx'"_)

where a colon  :  inflects integers constants (_9 to 9) to produce a 
corresponding constant verb.
See https://code.jsoftware.com/wiki/Vocabulary/zeroco

Ian

  
Ian Shannon
Science Strategy & Impact Branch
Department of Planning, Industry and Environment
4 Parramatta Square, Parramatta NSW 2150, Australia

-----Original Message-----
From: General <[email protected]> On Behalf Of Arthur Anger
Sent: 21 March 2021 9:10
To: J-General <[email protected]>
Subject: [Jgeneral] An unholy trinity of bugs

   JVERSION
Engine: j902/j64avx2/darwin
Release-b: commercial/2021-02-18T13:05:10
Library: 9.02.08
Platform: Darwin 64
Installer: J902 install
InstallPath: /applications/j902
Contact: www.jsoftware.com
   
Deadly:
   2 ((1 + [) (([^2 , [ -~ 3 * #@]) $ ]) ('/' ,"1 [ #"1 0 [ {."1 ]) ,@, '|' , 
'_' #~ [) 'zyxwvut'
"Server busy--did not return a result"
Break ineffective.  Terminated Terminal.

Confused:
   2 ((1 + [) (([^2 , [ -~ 3 * #@])    ) ('/' ,"1 [ #"1 0 [ {."1 ]) ,@, '|' , 
'_' #~ [) 'zyxwvut'
9 2.8243e11
   2 ((1 + [) ((([^2) , [ -~ 3 * #@])    ) ('/' ,"1 [ #"1 0 [ {."1 ]) ,@, '|' , 
'_' #~ [) 'zyxwvut'
7.38906 24
   2 (3&[@] (([^2) ,  27&[@]) 'x'&[@]) 2
7.38906 27
   2 (3&[ ([^2 , 27&[@]) 'xxxxxxxxx'&[@]) 2
9 7.6256e12
   (  (27&[@] , ]^2)  )
27

Refused:
   2 (3&[ (27&[@] , [^2) 'xxxxxxxxx'&[@]) 2
|syntax error
|   2(3&[    (27&[@],[^2)'xxxxxxxxx'&[@])2
   (  (27&[@] , ]^2)  ) 2
|syntax error
|       ((27&[@],]^2))2
------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is intended for the addressee(s) named and may contain confidential 
and/or privileged information. 
If you are not the intended recipient, please notify the sender and then delete 
it immediately.
Any views expressed in this email are those of the individual sender except 
where the sender expressly and with authority states them to be the views of 
the NSW Office of Environment and Heritage.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to