Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: LLVW
  • Order by date
  1. LLVW

    How to "Put" a variable length string to file...

    Solved, wrong file mode! for Output works: Sub Main() Dim Vector As String Vector = "TEST" Open "C:/Sigma/RPISWORK/SKETCH.TMP" For Output as #1 Print #1,Vector Close #1 End Sub
  2. LLVW

    How to "Put" a variable length string to file...

    Dave, thanks for the quick response! I've tried the Print statement, but I get "Bad file mode" message on execution. Here is my test macro: Sub Main() Dim Vector As String Vector = "TEST" Open "C:/Sigma/RPISWORK/SKETCH.TMP" as #1 Print #1,Vector...
  3. LLVW

    How to "Put" a variable length string to file...

    Hi, I am trying to write a variable length string to a file using a cognos macro. I'm using the "Open" and then "Put" functions successfully, but need to remove the first two characters that are inserted into the file (I understand they represent the file length) Is there...

Part and Inventory Search

Back
Top