This article is from the FAQ, by with numerous contributions by others.
[corrected in r4.0]
Question:
Why does the following program fail with a memory exception on my windows
95/NT machine? I am using v5.1(6) of the compiler and SDK=bor.
ORIGIN '~beta/basiclib/v1.4/directory';
--PROGRAM:descriptor--
(# d: @directory;
do '.' -> d.name;
d.scanEntries
(#
do select
(# whenDir::<
(# do (theDir).entry.path.name -> screen.putline #);
#);
#);
#)
 
Continue to: