(tested on WinXP, 8800)
This is a small mismatch i think...
This is silently computing, (no highload) but without output or ending...
>(dup 0 -1)
seems series and sequence are protected by the -1..
and doing a (dup "0" -1) in the console version gives a nice error..
though exists immediatly..
On linux however ->
> (dup "1" -1)
Segmentation fault
Norman.
is this a silent (reverse "gub") ?
is this a silent (reverse "gub") ?
-- (define? (Cornflakes))
Aaa wait a while ..when doing ie.. (dup (lambda()) -1).
The console of window comes after 5 minutes nicly with a message
"Press ENTER to exit"
Soo newlisp is working hard in the -1 until memory is exchausted..
Not realy a bug ..but behaviour its not consistent over the OS version...
The console of window comes after 5 minutes nicly with a message
"Press ENTER to exit"
Soo newlisp is working hard in the -1 until memory is exchausted..
Not realy a bug ..but behaviour its not consistent over the OS version...
-- (define? (Cornflakes))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Coincidentally I called dup by mistake this way last week:
which can produce a negative value. The returned error was 'not enough memory', though, which seemed correct.
Code: Select all
(while (read-line file)
(println (replace {(\S*)(\s*)(=)(\s*)(.*)} (current-line) (string $1 (dup " " (- 20 (length $1))) $3 " " $5 ) 0 )))