• Re: UID: Generating pointers in AWK

    From digi_cs@cosmogen@gmail.com to comp.lang.awk on Mon Oct 14 02:42:01 2024
    From Newsgroup: comp.lang.awk

    Kaz Kylheku

    I see increasing misunderstanding regarding "strong" values.


    This is my mistake�I shouldn�t have placed two new concepts into one library.



    Let�s forget about strong values for now and focus on pointers
    .

    I didn�t quite understand your comment, and it seems to be due to the concept of pointers being mixed with the concept of hid
    .

    Look� a pointer is a special string that can be used as an index in all the arrays we have.
    This string carries an unlimited amount of data that makes up the object itself.



    You can EASILY pass a pointer to a variable or return it from a function.

    Or combine many pointers into a single string.

    In any case, by passing the pointer string, you are passing an unlimited number of arrays or strings located in the fields of global arrays.


    --------------= Posted using GrabIt =----------------
    ------= Binary Usenet downloading made easy =---------
    -= Get GrabIt for free from https://www.shemes.com/ =-

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ben Bacarisse@ben@bsb.me.uk to comp.lang.awk on Mon Oct 14 13:31:49 2024
    From Newsgroup: comp.lang.awk

    "digi_cs" <cosmogen@gmail.com> writes:

    I see increasing misunderstanding regarding "strong" values.

    You are not doing much to clear it up! I simple definition of what you
    mean would sort it out.

    Look— a pointer is a special string that can be used as an index in
    all the arrays we have. This string carries an unlimited amount of
    data that makes up the object itself.

    So that's not really what most people would understand by the term
    "pointer". For one thing, pointers don't carry an unlimited amount of
    data.

    As has been suggested, an example of how your "pointers" can help write
    a program that is awkward to write without them would be very useful.
    --
    Ben.
    --- Synchronet 3.20a-Linux NewsLink 1.114