Re: null and native call question

2019-12-29 Thread ToddAndMargo via perl6-users
On 2019-12-29 05:46, WFB wrote: Hi Todd, I am curious, what was the problem? I tried 0 in the first place and the script died. Though it has something to do with the 0 but obviously it has not. Hi Bill, I have a major rewrite underway for several of my modules. Hopefully I will post them he

Re: null and native call question

2019-12-29 Thread WFB
Hi Todd, I am curious, what was the problem? I tried 0 in the first place and the script died. Though it has something to do with the 0 but obviously it has not. On Sun, 29 Dec 2019 at 10:31, ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > On 2019-12-29 00:28, ToddAndMargo via perl6

Re: null and native call question

2019-12-29 Thread ToddAndMargo via perl6-users
On 2019-12-29 00:28, ToddAndMargo via perl6-users wrote: On Fri, Dec 27, 2019 at 6:06 AM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote:     Hi All,     https://docs.perl6.org/language/nativecall    "As you may have predicted by now, a NULL pointer    is repr

Re: null and native call question

2019-12-29 Thread ToddAndMargo via perl6-users
On Fri, Dec 27, 2019 at 6:06 AM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote: Hi All, https://docs.perl6.org/language/nativecall "As you may have predicted by now, a NULL pointer is represented by the type object of the struct type." http

Re: null and native call question

2019-12-27 Thread Brad Gilbert
A Null pointer is just a pointer that points to the address 0. So if you are dealing with it as an integer it will be 0. On Fri, Dec 27, 2019 at 6:06 AM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > Hi All, > > https://docs.perl6.org/language/nativecall > > "As you may have