I am trying to read about it, but I cannot find mention of it.
According to the standard, a string created with S" cannot be changed, and from a simple experiment in Gforth this obviously is this space for the string does not come from a dictionary or spacing areas:
hex here . 7F48AB3B8758 ok pad . 7F48AB3B8808 ok s" test" .s <2> 77FDD0 4 ok
How long can I expect the address to be valid?
In other words, if I save this address (and account) in a variable, can I return to it later in the program, or do I need to move it to a separate place in the dictionary or to a bunch? And if I donβt save the address, will I be a memory leak?
source share