[JW Lua] Startup script

Robert Patterson robert at robertgpatterson.com
Sat Feb 18 21:01:06 CET 2023


To be clear, I'm not thinking of adding them to RGP Lua. But at least some
might be added to the luaosutils c++ library.

On Sat, Feb 18, 2023 at 12:08 PM Jan Angermüller <jan at angermueller.com>
wrote:

>
> Of all those, the one that confuses me is the date one. Does os.date()
> open a command-prompt window on Windows? Is the goal to present the date in
> the user's preferred locale format? Or is it to get a sortable value for
> the date? (Or some other reason?)
>
> yes, the date result from Powershell is also used for other things that
> os.date() can't do.
> For example, it is also used for a "is PowerShell available at all?" check.
> So it depends a bit on which of the other functions are converted to
> built-in RGP Lua functions.
> If all other functions are available through RGP Lua, I think I can find a
> workaround with os.date().
>
> Jan
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230218/1d9f1267/attachment.html>


More information about the JWLua mailing list