Arexx (51/67)

From:Donald Dalley
Date:20 Oct 99 at 22:40:57
Subject:Re: Re: Filenumbering possible answer

From: Donald Dalley <ddalley@idirect.com>

On 20-Oct-99, Michael Jaccoud wrote:

> /* 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

Using TIME() for a sequential name - good thinking, Michael.

Maybe you could add a feature to use a basename: house..., for the house
sequence; car..., for the car sequence; tree..., for the tree sequence; etc.
This way, if they are animation frames, you won't be guessing where each group
of files begin/end.

Might I also suggest that, if you want to Save *anything* to RAM:, that you
use the StatRAM device instead. It is the best recoverable RAM disk (AFAIK)
for the Amiga.

You only have to have your beloved Amiga "crash & burn" once, for you to bow
to the code gods of the south.



---===///||| Donald Dalley |||\\\===---
The World of AmiBroker Support
http://webhome.idirect.com/~ddalley
Member: ICOA and Team AMIGA

--------------------------- 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