adding String with '&'

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Bcs
Posts: 1
Joined: Tue Jan 14, 2003 11:22 am

adding String with '&'

Post by Bcs »

lets have an example:
in a row in my Sil file I have this 2 strings
Language N1...Language N2
&Ok..................&OK

in my Dic file
Language N1...Language N2
Ok...................OK

when I add this row from the sil file :arrow:
Language N1...Language N2
Ok...................&OK

I think the result should be
Language N1...Language N2
Ok...................OK
&OK.................&OK

Is it a little Bug or am I a dummy programers :oops: :?: :?:
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This is neither a bug and you're not "dummy" programmer. :-) The Dictionary Manager supposes that strings witn "&" could be used for same strings without "&". So it replaces "&" when finds references, this is why it adds &OK to OK. So this is a feature not a bug :-)
Post Reply