To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6229
    LDraw syntax check in Perl —Steve Bliss
   Hey all: I've written a Perl script/program to check a file for LDraw'ish syntax. I'd like to get feedback on it, as I'm an absolute beginner with Perl. The main purpose of the script is to check files being submitted to the Parts Tracker. So it's (...) (23 years ago, 9-Jul-01, to lugnet.cad.dev)
   
        Re: LDraw syntax check in Perl —Jaco van der Molen
   Hi Steve, When I run it, with i.e. NEW.DAT I get: ---...--- Checking 'c:\ldraw\models\new.dat' Check results: 1 Short Check : 1 done. ---...--- When I test it with a rather large MPD file I get: ---...--- Checking 'c:\ldraw\models\bbss\bbss.mpd' (...) (23 years ago, 10-Jul-01, to lugnet.cad.dev)
   
        Re: LDraw syntax check in Perl —Steve Bliss
   (...) The return values from the check routines indicate what kind of syntax was detected. Even values - bad syntax was found Odd values - no bad syntax More specifically, the following values are added together to get the complete return value: 1 - (...) (23 years ago, 11-Jul-01, to lugnet.cad.dev)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR