I have several lines that I want to write to a file in VB6, I can write this well, but every time I do this, a new line is automatically added after each write command.
Is there a function or way to just write to a file without an automatic new line? Thanks.
The advice for using a semicolon is correct, but you most likely donβt want to use it in combination with Write # , which will quote your output. Use Print # instead.
Write #
Print #
Print #handle, "Hello"; Print #handle, " world";
You can use a semicolon after the Write command, for example:
Write #handle, "Hello"; Write #handle, "world";
Source: https://habr.com/ru/post/1305523/More articles:GWT: Best practice for unit testing / bullying JSNI methods? - javaDo you know any augmented reality library for python? - pythonDestroying invested resources in a relaxed way - jqueryAMR to WAV to Java Converter - javaIs there a way to translate a list of key / value pairs into a data transfer object - collectionsIs it easy to convert SqlCommand to a T-SQL string? - c #JavaScript stream encryption implementation? - javascriptCasting Exception - c #What is a good way to separate and simplify complex WPF user control? - c #CMake: add static library to shared lib library - cmakeAll Articles