Top Navigational Bar

Macro Example: List Of Files Into An Array, S
DocumentID: 621057
Revision Date: 29-Feb-96 1:39:33 PM

The information in this document applies to:
WordPerfect® 6.0 for DOS

Problem

Solutions: This macro will go into the list of files and put all the filenames into an array and then show the array in a dialog box.

      DLGINPUT(on!)
      DISPLAY(off!)
      FileListDlg
            files[0]:=?list-2
      PosCharNext
      FOR(count;1;files[0])
      PosCharNext
            files[count]=?entry
      ENDFOR
      ExitDlg
      DLGCREATE(var1)
      DLGCONTROL(ctrllist!;files)
      DLGEND

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.