Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
AmiBlitz and Locale
#5
Okay, I seem to have a working solution for this. There were a couple of problems stopping things from working - first off, OpenCatalogA_() only works if the first parameter is null, or else is an exact locale name string. "English" doesn't work for that reason.

The second is strange to me.

result$ = Peek.s(GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World"))

always returns the default string and eventually crashes after a number of runs, but

ad.l = GetCatalogStr_ (*myCatalog, #ID_HELLOWORLD, "Hello World")
result$ = Peek.s(ad)

works fine. I don't understand the difference here - are they not basically the same thing?

Anyway, it works fine now. Thanks for the pointers!
Zitieren


Nachrichten in diesem Thema

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste