<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"> > Thanks for clarification. Although I </span></font><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> think</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> > ORG.Mod should be updated to
give an</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> > error when importing string constants,</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> > like I will do in my ORGx.Mod</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> > Peter</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"><br></span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;">I think you are right. This is perhaps the better</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;">thing to do.</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"><br></span></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">I just sketched what changes to the compiler</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">would be needed to *allow* (and correctly handle)</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">access </span></font><span style="white-space: normal; font-family: UICTFontTextStyleBody;">to </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">imported string constants. </span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;"><br></span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">And now that I </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">have </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">done </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">THAT (it’s not difficult, but</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">it requires some </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">shenanigan with </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">item conversions in</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">ORG.loadStringAdr, ORG.StrToChar,</span><span style="white-space: normal; font-family: UICTFontTextStyleBody;"> </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">ORG.CopyString,</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">etc. to use the SB base of the exporting </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">module if</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">needed, and also setting org.lev also for constants),</span></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">I agree with you that one should just issue an error </span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">message when an external string is accessed -</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">which of course is a trivial change to the compiler.</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">Or not even allow string </span></font><span style="white-space: normal; font-family: UICTFontTextStyleBody;">constants to be exported</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">in the first </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">place. This would effectively </span><span style="white-space: normal; font-family: UICTFontTextStyleBody;">turn them</span></pre><pre><span style="white-space: normal; font-family: UICTFontTextStyleBody;">into aliases </span><span style="font-family: UICTFontTextStyleBody; white-space: normal;">for string literals visible only in the</span></pre><pre><span style="font-family: UICTFontTextStyleBody; white-space: normal;">module where they are declared.</span></pre><pre><span style="font-family: UICTFontTextStyleBody; white-space: normal;"><br></span></pre><pre><span style="font-family: UICTFontTextStyleBody; white-space: normal;">One of those things that one *could* debate</span></pre><pre><span style="font-family: UICTFontTextStyleBody; white-space: normal;">endlessly, but where a debate is not really</span></pre><pre><span style="font-family: UICTFontTextStyleBody; white-space: normal;">worth our time..</span></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;"><br></span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">Andreas</span></font></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"><br></span></pre><div><br></div></body></html>