With the fix, or without it?
On Tue, Mar 20, 2012 at 05:39:30PM +0100, Harry Thijssen wrote:
> 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
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-dev
