Why is it that every now and then you throw out what appears to be a simple question that then turns out to be a horrible nightmare?
For the record, I grok nothing! NOTHING!
type(a[0]), type(a[0], 3) = roString String
type(a[1]), type(a[1], 3) = String roString
b = toStr(a[0]) : type(b), type(b, 3) = String String
b = toStr(a[1]) : type(b), type(b, 3) = String roString
c = String(1, a[0]) : type(c), type(c, 3) = String roString
c = String(1, a[1]) : type(c), type(c, 3) = String roString
d = toLeftStr(a[0]) : type(d), type(d, 3) = String roString
d = toLeftStr(a[1]) : type(d), type(d, 3) = String roString
the plot thickens!
Edit: forgot to include toStr()
Function toStr(s$) As String
return s$
End Function
I was hoping "s$" was super magical.
Let me see if I understand what you're asking, you want to be able to create a const string at runtime? ... and what fiendishly clever thing would this be used for?