Function: math[liblist] - lists the contents of a library

Calling Sequence:

liblist(dirpath);

Parameters:

dirpath - a string

Description:

This function lists the contents of a library in the directory dirpath by calling march with the option -l.

The function uses a file `index.txt` that is created by this function and then read in to print the contents of the file on screen.

If the file `index.txt` is already existing, it is removed before running march.

You may use slashes instead of back slashes to separate the subdirectories in the path.

If a string is assigned to the global variable curdir, then the default library directory is curdir and no argument needs to be passed to ls. You may want to specify curdir in the Maple initialization file (in DOS/Windows: `maple.ini`, in UNIX `.mapleinit`).

liblist uses system and currently works only in Windows NT 4.0.

This function is part of the math package, and so can be used only after performing the command with(math) or with(math, liblist).

Examples:

> with(math, liblist):

> liblist(`c:/maplev4/math`);

convert/backquote.m 97-12-13 17:13 242606 131
convert/explicit.m 97-12-13 17:13 242737 988
convert/range.m 97-12-13 17:13 243725 384
convert/RealRange.m 97-12-13 17:13 244109 1199
invfunc.m 97-12-13 17:13 247174 1637
math.m 97-12-13 17:13 199003 2278
math/addlib.m 97-12-13 17:13 201281 451
math/addtbl.m 97-12-13 17:13 201732 220
math/arclen.m 97-12-13 17:13 201952 702
math/assumed.m 97-12-13 17:13 202654 132
math/asym.m 97-12-13 17:13 202786 214
math/cartgrid.m 97-12-13 17:13 203000 561
math/cartgridR3.m 97-12-13 17:13 203561 1062
math/cartprod.m 97-12-13 17:13 204623 270
math/cont.m 97-12-13 17:13 204893 1035
math/curvature.m 97-12-13 17:13 205928 461
math/curveplot.m 97-12-13 17:13 206389 2320
math/deg.m 97-12-13 17:13 208709 58
math/dellib.m 97-12-13 17:13 208767 680
math/deltbl.m 97-12-13 17:13 209447 321
math/entry.m 97-12-13 17:13 209768 185
math/extrema.m 97-12-13 17:13 209953 2144
math/fnull.m 97-12-13 17:13 212097 4648
math/getindets.m 97-12-13 17:13 216745 126
math/gridplot.m 97-12-13 17:13 216871 1692
math/hastrig.m 97-12-13 17:13 218563 201
math/inflection.m 97-12-13 17:13 218764 503
math/isBasic.m 97-12-13 17:13 219267 215
math/isIncluded.m 97-12-13 17:13 242199 213
math/liblist.m 97-12-13 17:13 219482 795
math/lineangle.m 97-12-13 17:13 220277 1093
math/load.m 97-12-13 17:13 221370 796
math/ls.m 97-12-13 17:13 222166 945
math/mat.m 97-12-13 17:13 223111 934
math/mean.m 97-12-13 17:13 224045 852
math/mreadlib.m 97-12-13 17:13 224897 580
math/normale.m 97-12-13 17:13 225477 454
math/PSconv.m 97-12-13 17:13 225931 1013
math/rad.m 97-12-13 17:13 226944 62
math/rangemembers.m 97-12-13 17:13 227006 318
math/redefdim.m 97-12-13 17:13 227324 545
math/rotation.m 97-12-13 17:13 227869 1761
math/seqplot.m 97-12-13 17:13 229630 1368
math/ShareLibraryR3.m 97-12-13 17:13 230998 4144
math/ShareLibraryR4.m 97-12-13 17:13 235142 3676
math/slopefn.m 97-12-13 17:13 238818 511
math/symmdiff.m 97-12-13 17:13 239648 92
math/symmetry.m 97-12-13 17:13 239329 319
math/tangente.m 97-12-13 17:13 240734 773
math/un.m 97-12-13 17:13 239740 285
math/V.m 97-12-13 17:13 240025 472
math/whatRelease.m 97-12-13 17:13 240497 237
math/yminimax.m 97-12-13 17:13 241507 692
print/array.m 97-12-13 17:13 245904 1270
print/vector.m 97-12-13 17:13 242412 194
share.m 97-12-13 17:13 248811 2053
type/irrational.m 97-12-13 17:13 245566 338
type/real.m 97-12-13 17:13 245308 258

> curdir := `c:/maplev4/update`:

> liblist();

addcoords.m 96-10-23 16:56 23079 2732
C.m 96-10-23 16:55 1 8561
convert/Heaviside.m 96-10-23 16:57 43992 1326
convert/piecewise.m 96-10-23 16:59 106624 6222
dsolve.m 96-10-23 16:57 51999 8438
evalf/Bessel/intorderYK.m 96-10-23 16:58 99526 2405
evalf/Bessel/realYK.m 96-10-23 16:59 118546 1538
evalf/int/control.m 96-10-23 16:56 34166 9826
evalm.m 96-10-23 16:57 60437 4897
exprofile.m 96-10-23 16:58 65334 7875
floor.m 96-10-23 16:58 73209 2057
fortran.m 96-10-23 16:58 75266 10618
geometry/area.m 96-10-23 16:56 25811 948
index/FillInitVals.m 96-10-23 16:55 8562 1226
int/Heaviside.m 96-10-23 16:58 96187 801
interface.m 96-10-23 16:58 96988 2538
inttrans/fouriercos/prod.m 96-10-23 16:58 85884 2217
inttrans/fouriersin/prod.m 96-10-23 16:58 88101 2204
inttrans/invlaplace/ratpol.m 96-10-23 16:59 117134 1412
inttrans/laplace/function.m 96-10-23 16:58 90305 5040
isdifferentiable.m 96-10-23 16:59 113465 860
linalg/augment.m 96-10-23 16:56 29872 1049
linalg/diverge.m 96-10-23 16:57 50971 1028
linalg/grad.m 96-10-23 16:58 95345 842
linalg/indices.m 96-10-23 16:59 199372 167
linalg/laplacian.m 96-10-23 16:58 103207 957
linalg/multiply.m 96-10-23 16:58 104164 2460
linalg/scalefcts.m 96-10-23 16:59 197563 1809
linalg/scaletable.m 96-10-23 16:59 195080 2483
linalg/stack.m 96-10-23 16:56 30921 1040
PATCHLEVEL.m 96-10-23 16:55 17566 23
piecewise.m 96-10-23 16:59 112846 619
plot/adaptive.m 96-10-23 16:55 17589 5490
plot/buildeval.m 96-10-23 16:56 31961 2205
plot/jitter.m 96-10-23 16:58 101931 1276
plots/coordplot.m 96-10-23 16:57 45318 4943
plotsetup.m 96-10-23 16:59 114325 2809
plottools/arrow.m 96-10-23 16:56 26759 3113
round.m 96-10-23 16:59 193274 1806
simplex/display.m 96-10-23 16:57 50261 710
simplify/Heaviside.m 96-10-23 16:59 199539 7778
simplify/unitstep.m 96-10-23 17:00 207317 8751
solve/rec.m 96-10-23 16:59 120084 73190

See Also:

system , march , math/ls .

Version History:

Version 1.0 current as of December 14, 1997