- DISCLAIMER -
GetUnique is Copyright (c) 1995 Thomas Esser, but you may freely
use it and pass any number of copies to your friends, as long as you
don't charge anyone for giving him/her a copy. You are NOT allowed
to modify the distribution archive which may only be copied complete
and intact. The archive MUST contain the following files:
GetUnique - 200 Bytes
GetUnique.c - 1810 Bytes
SCOPTIONS - xxx Bytes
YOU AGREE TO USE THIS PROGRAM ENTIRELY AT YOUR OWN RISK! I CAN'T BE
HELD RESPONSIBLE FOR DAMAGE WHATSOEVER RESULTING FROM USING THIS
PROGRAM!
- PURPOSE -
GetUnique must be called from CLI only! It returns a number, which
will be unique. I use this for generating Filenames who must be
definitly unique, e.g. in Shell or Rexxscripts. In the shell you
can use it via the backtick (`) characters:
move foo foo.`getunique`
GetUnique need Kickstart V39 - 3.0 or better.
- HISTORY -
V1.0 initial release
V1.1 optimized - 20 Bytes saved ;).
|