> Consdier the following syntax:
>
> input program.
>  loop #i = 1 to 250000.
>   compute A = #i.
>   compute B = mod(#i, 2).
>   end case.
>  end loop.
>  end file.
> end input program.
>
> compute v = rv.uniform (0,1).
>
> EXAMINE
>        v BY  B
>        /statistics = descriptives
>        .
>
>
> This is a perfectly reasonable (albeit uninteresting) use of examine.    
> However, if the user
> inadvertently types   "v BY  A" instead of "v BY B", then we will dutifully 
> try to allocate,
> 64MB * 250000 on the heap.
>
> J'

Just for info. I checked this to see what error is displayed on
MSWindows. In fact none! The program goes in an infinite loop with
disk I/O but no error is displayed.

Have fun

_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to