I settled on using a small Python script, since I am not
a Lisp programmer.
1. I created a text file todononum.txt which contains
the next number to use.
2. I created the following script to read this file, return the
next available number formatted in a unique, easy to find string,
for
Recently I asked about a method of inserting a unique number in a
headline. My requirement is to be able to uniquely identify a
particular headline when exporting data to another system
(ListPro on Palm/Windows).
I settled on using a small Python script, since I am not
a Lisp programmer.
1.
Charles Cave charles_c...@optusnet.com.au wrote:
...
print [#%s] % val
...
ESC-1 ESC-! nextnum RET Ctl-D
The Ctrl D is needed to remove a carriage return (not sure why it is
there.
Try
import sys
sys.stdout.write([%d] % val)
instead of print. It should work on