Lua 関数の GetPathSeparator は、オペレーティングシステムのパス区切り文字を返します。
この関数は、引数を受け取りません。
この例では、パス区切り文字を出力しています。
return function()
--- This prints the path seperator. It is different between a Linux and macOS (/) and a Windows (\) operating system.
Printf("The path seperator is " .. GetPathSeparator())
end