On Sun, 5 Jan 2020 18:27:01 -0800
Darren Duncan wrote:
> The normal Rakudo Star releases so far are compiled, [...]
For Mac and Windows, perhaps, but the release is similar as it always
was for GNU+Linux. And I'm mostly aiming for that since that's what I
use (and also what I can test). Hence,
On Sun, 5 Jan 2020 22:32:02 +
David Santiago wrote:
> Hello.
>
> I'm following
> https://docs.raku.org/language/5to6-nutshell#Getopt::Long but i still
> haven't figured it out how do i use a constraint in a named parameter
> when processing a command line.
>
> I have this piece of code:
>
On 2020-01-06 1:18 a.m., Patrick Spek via perl6-users wrote:
On Sun, 5 Jan 2020 18:27:01 -0800 Darren Duncan wrote:
The normal Rakudo Star releases so far are compiled, [...]
For Mac and Windows, perhaps, but the release is similar as it always
was for GNU+Linux. And I'm mostly aiming for
Thanks for the reply!
That was the issue, the missing '=', and the order. I thought that
because it was a named parameter the order wouldn't matter.
Regarding the second question, on how to have the same switch multiple
times, using a @ sigil doesn't work:
Code:
subset Layout of Str where * ~~
On 2020-01-05 14:32, David Santiago wrote:
Hello.
I'm following https://docs.raku.org/language/5to6-nutshell#Getopt::Long
but i still haven't figured it out how do i use a constraint in a
named parameter when processing a command line.
I have this piece of code:
multi sub MAIN("apt",
On Mon, Jan 6, 2020, 09:01 ToddAndMargo via perl6-users
mailto:perl6-users@perl.org>> wrote:
On 2020-01-05 22:56, ToddAndMargo via perl6-users wrote:
> do they rise to the level of actually helping others?
I am afraid I am annoying more than helping
On 2020-01-05 23:20, Veesh
On 2020-01-06 22:02, ToddAndMargo via perl6-users wrote:
Hi All,
What am I doing wrong here? How do I assign values
to CArray[WCHAR]?
I want $lpData[0] to be 0xABCD and $lpData[1] to be 0xEF12.
> use NativeCall;
Nil
> constant WCHAR := uint16;
(uint16)
This was the booboo. I forgot
Hi All,
What am I doing wrong here? How do I assign values
to CArray[WCHAR]?
I want $lpData[0] to be 0xABCD and $lpData[1] to be 0xEF12.
> use NativeCall;
Nil
> constant WCHAR:= uint16;
(uint16)
> my $ValueData = 0xABCDEF12;
2882400018
> my CArray[WCHAR] $lpData;
(CArray[uint16])
>
Hi All,
What am I doing wrong here?
> my int16 $x = 0xABCD;
-21555
> say $x.base(16);
-5433
> my uint16 $y = $x.uint16;
No such method 'uint16' for invocant of type 'Int'
in block at line 1
Many thanks,
-T