Oh, and not properly terminating your C String seriously
messes with the C's strlen()
On 2020-01-01 19:27, Alexis wrote:
Hi Todd,
In my experience, /most/ programming languages in general use have
0-based indexing, rather than 1 (Lua is one exception that comes to
mind). So when dealing with a new language, i assume 0-based indexing,
unless explicitly told otherwise.
Hi Todd,
i'm not one of the Raku devs, but i'd like to add my two bits
here.
To begin with, i'd just like to note that there's no need for
quotes when referencing the C programming language, just as
there's no need for quotes around Raku: "the C programming
language", not "the 'C'
On 2020-01-01 11:49, William Michels via perl6-users wrote:
Hi Todd,
Isn't the point of the NativeCall interface to call native C code?
Hi William,
Exactly! And figuring out how to do it is killing me!
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-formatmessagew
is
On 2020-01-01 11:11, JJ Merelo wrote:
It will not be corrected because it's not a documentation error.
Exactly. And it is an error because it does not
conform to "C" standards for strings. That you
got some examples to work is just dumb luck. I
had no such dumb luck.
Also,
using strings
On Wed, Jan 1, 2020 at 10:57 AM ToddAndMargo via perl6-users
wrote:
>
> On 2020-01-01 01:58, JJ Merelo wrote:
>
>
>
> El mar., 31 dic. 2019 a las 21:56, ToddAndMargo via perl6-users
> () escribió:
>>
>> On 2019-12-31 09:17, JJ Merelo wrote:
>> > Hi,
>> >
>> > El mar., 31 dic. 2019 a las 5:54,
El mié., 1 ene. 2020 a las 19:57, ToddAndMargo ()
escribió:
> On 2020-01-01 01:58, JJ Merelo wrote:
>
>
>
> El mar., 31 dic. 2019 a las 21:56, ToddAndMargo via perl6-users (<
> perl6-users@perl.org>) escribió:
>
>> On 2019-12-31 09:17, JJ Merelo wrote:
>> > Hi,
>> >
>> > El mar., 31 dic. 2019 a
On 2020-01-01 01:58, JJ Merelo wrote:
El mar., 31 dic. 2019 a las
21:56, ToddAndMargo via perl6-users ()
escribió:
On 2019-12-31 09:17, JJ
El mar., 31 dic. 2019 a las 21:56, ToddAndMargo via perl6-users (<
perl6-users@perl.org>) escribió:
> On 2019-12-31 09:17, JJ Merelo wrote:
> > Hi,
> >
> > El mar., 31 dic. 2019 a las 5:54, Todd Chester via perl6-users
> > (mailto:perl6-users@perl.org>>) escribió:
> >
> > Hi All,
> >
> >
>
On 2019-12-31 09:17, JJ Merelo wrote:
Hi,
El mar., 31 dic. 2019 a las 5:54, Todd Chester via perl6-users
(mailto:perl6-users@perl.org>>) escribió:
Hi All,
https://docs.raku.org/language/nativecall.html#Passing_and_returning_values
Did anyone else discover the mistake, hopefully
Hi,
El mar., 31 dic. 2019 a las 5:54, Todd Chester via perl6-users (<
perl6-users@perl.org>) escribió:
> Hi All,
>
> https://docs.raku.org/language/nativecall.html#Passing_and_returning_values
>
> Did anyone else discover the mistake, hopefully not the hard way like I
> did. Anyone get weird
Hi All,
https://docs.raku.org/language/nativecall.html#Passing_and_returning_values
Did anyone else discover the mistake, hopefully not the hard way like I
did. Anyone get weird gibberish printed out like I did?
my$string="FOO";
# The lifetime of this variable must be equal to the
12 matches
Mail list logo