Jump to content
Developer Wiki and Function Reference Links ×

print list class


blimey

Recommended Posts

quote:

Originally posted by Mechanix:

i went to the web site below and cut & pasted the list class utility. how do i get it to work?


This was posted in the general discussion and I'd like very much to be able to use that tool. So i've tried to make a script with the txt file provided, it worked fine and compiled succesfully. Then I don't know how to use the tool. I expected it to output a text file with the classes, but do not know how to run it or were it saves the file... Can someone help me?

Thanks

Link to comment
  • 1 month later...
  • 2 weeks later...

This will allow you to place the file somewhere sensible:

PROCEDURE ClassListOut;

VAR

counter, countClasses : INTEGER;

outputfile : STRING;

BEGIN

PUTFILE('Export Class List','Class List',outputfile);

countClasses:=CLASSNUM;

IF (countClasses>2) THEN BEGIN

counter:=0;

REWRITE(outputfile);

REPEAT

WRITELN(CLASSLIST(counter));

counter:=counter+1;

UNTIL (counter>countClasses);

CLOSE(outputfile);

END;

END;

RUN(ClassListOut);

Link to comment
  • 3 years later...

Steven,

there is a sub-routine in Vectorlab which does what you need. You must open/close the file elsewhere, but there is an example which is running as stand-alone script. I believe you'd prefer this.

Export class attributes is Subroutine for exporting class attributes as TAB file

I didn't try it in a while, but it should work. Since is old, it might fail on custom markers.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...