• *pp?

    From T@21:1/5 to All on Thu Dec 1 20:59:06 2022
    Hi All,

    By any chance does *ppSessionInfo mean a pointer
    to another pointer?

    Your in confusion,
    -T

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Fri Dec 2 08:00:29 2022
    T,

    By any chance does *ppSessionInfo mean a pointer
    to another pointer?

    I ofcourse can't, due to the absense of context, be absolutily sure, but
    yes, it nornally does (you're providing a pointer to a pointer-variable the function/method/procedure can store its pointer to a structure/record/memory block in). Though I must say I always regarded it as a bad/odd mix of C{something}-specific language (the "*") and the so-called "Hungarian notation".

    What I mean ? The "*" means pointer. The two "p"-s the name starts with
    mean the same. So, I /could/ read it as a pointer to a pointer to a pointer (three pointers) ... :-|

    As I'm not really a C{something} programmer I again can't be fully sure, but
    in it I expect(ed) it to be something like "**SessionInfo".

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From T@21:1/5 to R.Wieser on Thu Dec 1 23:26:21 2022
    On 12/1/22 23:00, R.Wieser wrote:
    T,

    By any chance does *ppSessionInfo mean a pointer
    to another pointer?

    I ofcourse can't, due to the absense of context, be absolutily sure, but
    yes, it nornally does (you're providing a pointer to a pointer-variable the function/method/procedure can store its pointer to a structure/record/memory block in). Though I must say I always regarded it as a bad/odd mix of C{something}-specific language (the "*") and the so-called "Hungarian notation".

    What I mean ? The "*" means pointer. The two "p"-s the name starts with mean the same. So, I /could/ read it as a pointer to a pointer to a pointer (three pointers) ... :-|

    As I'm not really a C{something} programmer I again can't be fully sure, but in it I expect(ed) it to be something like "**SessionInfo".

    Regards,
    Rudy Wieser




    Oh crap. I just figured out how to handle c pointers
    in Raku. Now I have to figure out how to do pointers
    to pointers. AAAAA HHHHHH !!!!!

    Thank you for the confirmation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Fri Dec 2 09:51:41 2022
    T,

    Oh crap. I just figured out how to handle c pointers
    in Raku. Now I have to figure out how to do pointers
    to pointers. AAAAA HHHHHH !!!!!

    Ain't programming (when you have to figure out everything by yourself) a
    nice hobby ? :-D

    Thank you for the confirmation.

    You're welcome.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)