| From: | Michael Jaccoud |
| Date: | 21 Oct 99 at 00:59:14 |
| Subject: | Re: Filenumbering possible answer |
From: Michael Jaccoud <topgun@pop.ch>
Hello
Thank you all for your help! I havent found really what I was searching for
but I've found a solution which works for me:
I append a random number to the filename (which was everytime the same name,
which was the problem). The routine checks if a file exists and if yes it
waits to find a free number. No error-check (no free numbers) yet.
/* Zufallsnamen (Sekunden) zu generieren */
Zufall = SUBSTR(TIME(),7,2)
DO UNTIL ~EXISTS('RAM:'Zufall''NAME'.JPG')
Zufall = SUBSTR(TIME(),7,2)
END
SAVEBUFFERAS JPEG '"RAM:'Zufall''NAME'.JPG"' 85
Regards
--------------------------------------------------------
Best regards Return mail address:
Michael Jaccoud topgun@pop.ch
--------------------------------------------------------
--------------------------- ONElist Sponsor ----------------------------
??? Computer Questions ==> Free Answers From Live Experts ! ! !
go to EXPERTCITY.COM
<a href=" http://clickme.onelist.com/ad/expertcity15 ">Click Here</a>
------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com