Re: Как сохраниь в ресурсах в exe файле несколько переменнвх
От: Bolgaroff Казахстан  
Дата: 28.04.03 22:31
Оценка: 21 (1)
Здравствуйте, beep, Вы писали:

B>Как сохраниь в ресурсах в exe файле несколько переменнвх типа AnsiString


resourcestring?
Вырезано из Delphi Help:

Resource strings are stored as resources and linked into the executable or library so that they can be modified without recompiling the program. For more information, see Internationalization and localization and the topics that follow it.

Resource strings are declared like other true constants, except that the word const is replaced by resourcestring. The expression to the right of the = symbol must be a constant expression and must return a string value. For example,


resourcestring
  CreateError = 'Cannot create file %s';        {  for explanations of format specifiers, }
  OpenError = 'Cannot open file %s';            { see 'Format strings' in the online Help }
  LineTooLong = 'Line too long';
  ProductName = 'Borland Rocks';
  SomeResourceString = SomeTrueConstant;

... << RSDN@Home 1.0 beta 6a >>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.