12-14-2022, 10:52 PM
See for yourself:
vs...
Without using CHR$(34) your other quote marks make no difference. The system just concatenates the strings and concatenation does not include quote marks, unless you code them as CHR$(34).
Pete
Code: (Select All)
PRINT "D:\" + " + "Program Files" + " + "\Notepad++\notepad++.exe tmp.three"
vs...
Code: (Select All)
PRINT "D:\" + CHR$(34) + "Program Files" + CHR$(34) + "\Notepad++\notepad++.exe tmp.three"
Without using CHR$(34) your other quote marks make no difference. The system just concatenates the strings and concatenation does not include quote marks, unless you code them as CHR$(34).
Pete
Shoot first and shoot people who ask questions, later.