• Object in AWK

    From digi_cs@cosmogen@gmail.com to comp.lang.awk on Sat Oct 12 11:28:48 2024
    From Newsgroup: comp.lang.awk

    here is the small illustration of what is object in awk:

    https://github.com/digics/UID10/POINTER.jpg

    the ptr - is the any string that is used to address data in global arrays-fields
    so the all object's data is always located in global arrays using ptr as the index:

    FIELD[ ptr ]

    passing ptr - meaning passing unlimited number of possible arrays or strings - that's is the object is

    however to make an abstract unique string ptr "true" pointer we need associate it with it's class udentifier - and that is differ true pointer from an unique string - it's mandatory association with the class

    if ( ptr in CLASSPTR )

    # ptr is a pointer


    This association with the class is what turns a simple string into a "true" pointer.


    --------------= 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 Ed Morton@mortonspam@gmail.com to comp.lang.awk on Sun Oct 13 11:46:50 2024
    From Newsgroup: comp.lang.awk

    On 10/12/2024 3:28 AM, digi_cs wrote:
    here is the small illustration of what is object in awk:

    https://github.com/digics/UID10/POINTER.jpg

    Please stop posting messages to usenet that include links that we must
    visit to understand what you're trying to tell us. Make sure each post
    makes sense stand-alone.

    The above URL just prints "Not Found" btw.

    Ed.
    --- Synchronet 3.20a-Linux NewsLink 1.114