http://www.gnu.org/software/emacs/manual/html_node/elisp/Random-Numbers.html
— Function: random &optional limit
This function returns a pseudo-random integer. Repeated calls return a series of pseudo-random integers.
If limit is a positive integer, the value is chosen to be nonnegative and less than limit.
If limit is
t, it means to choose a new seed based on the current time of day and on Emacs's process ID number.On some machines, any integer representable in Lisp may be the result of
random. On other machines, the result can never be larger than a certain maximum or less than a certain (negative) minimum.
'Programming' 카테고리의 다른 글
| Why do you need explicitly have the "self" argument into a Python method? (0) | 2012.08.12 |
|---|---|
| The Interactive Emacs-Lisp Mode (0) | 2012.08.11 |
| Python으로 KOSPI200 시세 얻기 (0) | 2012.08.10 |
| sleep command in python (0) | 2012.08.10 |
| (Python) Data Compression (0) | 2012.08.10 |