[pstricks] Fwd: Create a random path
Marco Daniel
marco.daniel at mada-nada.de
Tue Jan 26 18:11:47 CET 2010
Hello Herbert,
i tried it.
The following example works well:
%%%%%%
marco at marco-desktop:~$ gs
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>realtime
GS<1>==
5701
GS>usertime
GS<1>==
0
GS>
%%%%%%
But the following doesn't work:
%%%%%
GS<2>10 srand
GS<2>==
0.5
GS<1>5 srand
GS<1>==
-file-
GS>20 srand
GS>==
Error: /stackunderflow in --execute--
Operand stack:
--nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- %loop_continue 1753 2 3 %oparray_pop
--nostringval-- --nostringval-- false 1 %stopped_push
.runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1150/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 11
Current file position is 3
%%%%%%%%%
What happened?
regards
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100126/b8a736b9/attachment-0001.html>
More information about the PSTricks
mailing list