The same, but a bit more elaborate (and hopefully more readable): USING: documents.private io io.encodings.utf8 io.launcher kernelmath sequences sets splitting ;IN: other ! Find the header line in the sequence and return it with its number.: find-header ( lines -- num/f line/f ) [ members "= "
You should be able to call the Windows APIs directly (if you can figure out
which ones!) and avoid using a script to call a binary.
On Tue, Oct 25, 2016 at 1:02 PM Alexander Ilin wrote:
> The same, but a bit more elaborate (and hopefully more readable):
>
> USING:
I would say no prefix at all for ratios, only base 10.
Also do people in the US consider 1+13/2 a number? Or is it really only
written as 7+1/2?
I think the number literals should only express what people consider as
numbers. They should not replace arbitrary mathematical operations (like
your
This issue is that certain tasks require administrator privilege on
Windows and it's much more friendly to check the current user's
privileges and inform the user that he or she needs to elevate to
admin than simply fall over. :)
Sadly before Windows 7 most users are on their machine as admins by
25.10.2016, 23:13, "Doug Coleman" :You should be able to call the Windows APIs directly (if you can figure out which ones!) and avoid using a script to call a binary. That's true. I'm simply having fun with that little task. Parsing the output and such.If I needed to solve
Take a look at basis/windows/privileges/privileges.factor and
http://stackoverflow.com/questions/8046097/how-to-check-if-a-process-has-the-administrative-rights
On Tue, Oct 25, 2016 at 1:49 PM Onorio Catenacci wrote:
> This issue is that certain tasks require administrator
25.10.2016, 23:49, "Onorio Catenacci" :This issue is that certain tasks require administrator privilege onWindows and it's much more friendly to check the current user'sprivileges and inform the user that he or she needs to elevate toadmin than simply fall over. :)Well, that
Thanks Doug--that's sort of what I was hoping for. Like you my issue
would be figuring out which API's to call.
On Tue, Oct 25, 2016 at 4:13 PM, Doug Coleman wrote:
> You should be able to call the Windows APIs directly (if you can figure out
> which ones!) and avoid