dly wrote:
> On 2-Jul-06, at 11:29 AM, John Randall wrote:
>> Functions like ? are not pure functions: they depend on some state
>
> How do you display and set the J equivalent of []RL Random Link?
> These types of variables were called Shared Variables--does J have an
> equivalent?
>

In J504, this is done through 9!:0 and 9!:1.  In J601, this is done
through 9!:44 and 9!:45.  The vocabulary page for ? has details.

> What is happening here?
> ?i.6
> 0.00766673 0 0 1 2 1

If y>0, ?y gives you an integer from i.y .  If y=0, ?y gives you a real
number in tbe interval [0,1) .

Best wishes,

John

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

Reply via email to