cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

how to program to incorporate this line ~ Input `file_open` `Inputname` `xxxxxxxxxx` into trail file

RK_10407936
5-Regular Member

how to program to incorporate this line ~ Input `file_open` `Inputname` `xxxxxxxxxx` into trail file

Hello Mr Martin,

 

Yes with further study of trail files and basic programming, I could successfully extract and modify trail file for .prt import and .stp export for two part files.👍..I could also write a program in Basic to generate trail file. However, just one question is there --

ie how to program to incorporate this line- ~ Input `file_open` `Inputname` `xxxxxxxxxx` into trail file? Sharing trail file and basic program (in .txt format/I had written it in qbasic only, which has been converted to .txt here)  herewith. 

 

Requesting for the solution,

 

Thanks in advance!

1 REPLY 1

Hi,

please go back to my gentrail_2019-08-30.zip.

gentrail.bas program copies the contents of:

  1. step01_header.txt
  2. step02_body_01.txt
  3. step02_body_03.txt

gentrail.bas program ignores step02_body_02.txt file

gentrail.bas program inserts a command between step 2 and step 3:

PRINT #2, "~ Input `file_open` `Inputname` `"; filename$; "`"

This command replaces copying the file step02_body_02.txt.

 


Martin Hanák
Top Tags