⍝ WS required to execute expression ⍵:

    :ReturnIf ~'v'∊Alpha                    ⍝ Verbose: takes around 5 seconds:

:If 32={2×⎕size'⍵'}⍬                        ⍝ 32-bit interpreter:

        wsreq'⍳1000'
    2036
:Else                                       ⍝ 64-bit interpreter:
        wsreq'⍳1000'
    2072

:EndIf

    iota←{⍳⍵}       ⍝ check that wsreq can trap errors from within subject fn.

    × wsreq'iota 1000'
1


Back to: code

Back to: Workspaces