Home Forums HTBasic Forum Help with using HTBFileopen.dll, please! Reply To: Help with using HTBFileopen.dll, please!

#7443
ZeRider
Participant

    CAT instructions could be very useful to put all the files selected with your criteria in a list :

    Nb_file=0
    Directory$=”D:\Calibration Measurement”
    CAT Directory$;NAMES,COUNT Nb_file
    !
    ALLOCATE Catalog$(1:Nb_file)[80]
    Selection$=”*.Cal”
    !
    CAT Directory$ TO Catalog$(*);SELECT Selection$,COUNT Nb_file,NAMES
    !
    FOR I=1 TO Nb_file
    PRINT I,Catalog$(I)
    NEXT I
    !
    PRINT
    PRINT “Nb File=”;Nb_file
    !
    END

    Scroll to Top
    HTB icon

    Please Sign In