|
|
On 24/07/2023 08:21, And wrote:
>
>
> No, I don't use Linux. I'm writing a macro, it input a file_name string. If
> (file_name = ""), it will not output that file.
>
I'm not sure I understand the need, but if you want to test whether the
file name is empty, you can use the strlen() function.
#if(strlen(file_name))
// file name is defined
...
#else
// file name is empty
...
#end
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|