This program tests the ListProcesses function of the module nt. As you can see there were quite a few processes running on my machine when I compiled this document.
Example testproclist.bas :
nt::ListProcesses PS
for i=lbound(PS) to ubound(PS)
for j=0 to 8
print PS[i,j]," "
next j
print "\n"
next i
import nt.bas
Result executing testproclist.bas :
Possible error messages sent to stderr: