/*
Ever wonder if the system you're running on has enough system
resources for you to do what you would like too (or need to)
do?  Ever want to use the same CLI or workbench diskette to 
boot a 256k, 512k, and 8.5 meg system, and take advantage of 
the extra memory if it's available?  Well your prayers have
just been answered.

Introducing "enough" (a CLI execute file command).

Enough will test to see if you have enough RAM memory, disk
(DF0:, DF1:, ...) memory or if a file, directory or device
exists.  Any combination of tests may be done at once.  For
example, if you need c:copy, c:assign, and 200k of RAM in
order to copy your C: directory to RAM disk you can test for
this in your startup-sequence execute file as follows:

	failat 10			{optional}
	ENOUGH MEM 200k EXISTS c:copy EXISTS c:assign
	if NOT warn
	  copy c: ram:
	  assign c: ram:
	  endif
	echo "ready."

The advantage of using:
	enough exists foo:bar
	if NOT warn 
	    :
over:
	if exists foo:bar
	    :
is that enough prevents the "Please insert volume foo in any drive"
requester.  So your batch file can check for the existence of a 
volume without "help" from the user.  For example you can say:
	enough exists MY-C-VOL:
	if NOT warn
	   cd My-C-Vol:
	   endif

Anyway, I hope this gives you some ideas for a few creative execute
files.  If you add additional keywords please send your code to me
and I will coordinate updates.  Thank you.

The source code that follows compiles under Lattice V3.03 without
warnings or errors.

	Bruce Barrett
	Commodore-Amiga
	Software QA.
*/

