• Welcome to Jose's Read Only Forum 2023.
 

Equivalent of PB ENUM Equates

Started by Chris Chancellor, December 27, 2018, 03:59:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chris Chancellor

Hello Charles

what is the equivalent of PB ENUM Equates  for example the statement below


ENUM Equates SINGULAR
   IDC_ListView     = 500
   IDC_Statusbar
   IDC_TextBox
   IDC_ComboBox
   ButtonCBExit   
   ButtonCapExit       
END ENUM   



will define these identifiers in O2 as


%   IDC_ListView     = 500
%   IDC_Statusbar  = 501
%   IDC_TextBox     = 502
%   IDC_ComboBox = 503
%   ButtonCBExit   = 504
%   ButtonCapExit  = 505     



which is a more less a shortform method especially when we have lot's of equates to define



Chris Chancellor

Hello Charles

any ideas to resolve this issue maybe by using a macro to automate the ENUM command?