|
From: theozh <th...@gm...> - 2026-02-27 08:39:41
|
what about an if/else statement? Something like...
myHomeDir = GPVAL_SYSNAME[1:7] eq "Windows" ? system("echo %userprofile%") : system("echo ~")
Maybe you could also use the gnuplot variable GPVAL_PWD instead, which is the current working directory, but not necessarily the home directory.
|