Download Pelles C here: http://www.smorgasbordet.com/pellesc/
; include file generated by lib2inc V2.4
CreateXmlReader PROTO :DWORD,:DWORD,:DWORD
CreateXmlReaderInputWithEncodingCodePage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateXmlReaderInputWithEncodingName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateXmlWriter PROTO :DWORD,:DWORD,:DWORD
CreateXmlWriterOutputWithEncodingCodePage PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateXmlWriterOutputWithEncodingName PROTO :DWORD,:DWORD,:DWORD,:DWORD
Test.asm(20): fatal error: Invalid use of 'Tab'.
.386
.model flat,stdcall
option casemap:none
ExitProcess PROTO :DWORD
printf PROTO C :DWORD,:VARARG
include CstrMacro.asm
.data?
str1 dd ?
.code
start:
invoke printf,\
@Cstr("Tab\tcharacter\ttest\nAnother line\qSample line\nEscaped symbol \\\n")
mov eax,DWORD PTR [esp-4]
mov str1,eax
invoke ExitProcess,0
END start
Quote from: Stefan Pendl on April 17, 2025, 07:28:16 AMHow about introducing the "--" switch that signals the end of the parameters?Not many Windows command-line tools, though (AFAIK).
Many Unix utilities support this.
>cl.exe -c "-test.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.33.31630 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-test.c'
cl : Command line error D8003 : missing source filename
Page created in 0.046 seconds with 15 queries.