Add note to strings and variables
cpr
As per the title, adding the ability to add information to global variables and strings e-la the wavenote.
As per the title, adding the ability to add information to global variables and strings e-la the wavenote.
I cannot help but be curious of your use case. Usually you want to avoid globals as much as possible, but it seems they are an integral part in your application?
May 9, 2023 at 09:12 pm - Permalink
You could use waves with one data point instead. Now you have the wave note you want..
May 10, 2023 at 03:21 am - Permalink
In reply to You could use waves with one… by olelytken
That's what I have been doing for a decade - just occurred to me that I would occasionally have a variable with nothing to tell me what it was or where it came from. Just a nicety.
May 10, 2023 at 04:13 am - Permalink
Global variables (numeric and string) do not support notes.
One possible solution is to use data folder notes (if you're using IP9 or later). For more information, execute:
DisplayHelpTopic "Data Folder Notes"
If you did this you would be separating the information from the variable itself, which is never ideal. But it's much better from an overhead perspective compared to one point waves, since the wave header itself is several hundred bytes.
May 10, 2023 at 05:35 am - Permalink