Discussion:
UID: Generating pointers in AWK
(too old to reply)
digi_cs
2024-10-13 23:42:01 UTC
Permalink
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/ =-
Ben Bacarisse
2024-10-14 12:31:49 UTC
Permalink
Post by digi_cs
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.
Post by digi_cs
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.
Loading...