Add note to strings and variables

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?

You could use waves with one data point instead. Now you have the wave note you want..

In reply to by olelytken

olelytken wrote:

You could use waves with one data point instead. Now you have the wave note you want..

 

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. 

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.