Dan Ullman
03-06-2007, 07:24 PM
Table 1
install_service_table={NMEA_Combiner="ECC NMEA Combiner", GLOBE_Server = "ECC-GLOBE Server", NMEA_logger="ECC NMEA Logger", Log_server = "ECC Log Server", Service_Monitor = "ECC Service Monitor"};
for pack_name,Serv_name in install_service_table do
result = Dialog.Message("Notice", "Service Name"..Serv_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
When this runs the table elements are in this order in the dialog:
ECC Log Server
ECC-GLOBE Server
ECC Service Monitor
ECC NMEA Logger
ECC NMEA Combiner
I am not sure what controls the sort order. It isn't alphabetical nor is it in order of when they were added.
Table 2
install_service_table={"ECC NMEA Combiner","ECC-GLOBE Server","ECC NMEA Logger","ECC Log Server","ECC Service Monitor"};
for pack_name,Serv_name in install_service_table do
result = Dialog.Message("Notice", "Service Name"..Serv_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
When this runs the table elements are in this order in the dialog:
ECC NMEA Combiner
ECC-GLOBE Server
ECC NMEA Logger
ECC Log Server
ECC Service Monitor
Which is the order they were added to the table. Each is loaded by its array position.
My question is what controls the order in Table 1?
install_service_table={NMEA_Combiner="ECC NMEA Combiner", GLOBE_Server = "ECC-GLOBE Server", NMEA_logger="ECC NMEA Logger", Log_server = "ECC Log Server", Service_Monitor = "ECC Service Monitor"};
for pack_name,Serv_name in install_service_table do
result = Dialog.Message("Notice", "Service Name"..Serv_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
When this runs the table elements are in this order in the dialog:
ECC Log Server
ECC-GLOBE Server
ECC Service Monitor
ECC NMEA Logger
ECC NMEA Combiner
I am not sure what controls the sort order. It isn't alphabetical nor is it in order of when they were added.
Table 2
install_service_table={"ECC NMEA Combiner","ECC-GLOBE Server","ECC NMEA Logger","ECC Log Server","ECC Service Monitor"};
for pack_name,Serv_name in install_service_table do
result = Dialog.Message("Notice", "Service Name"..Serv_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
When this runs the table elements are in this order in the dialog:
ECC NMEA Combiner
ECC-GLOBE Server
ECC NMEA Logger
ECC Log Server
ECC Service Monitor
Which is the order they were added to the table. Each is loaded by its array position.
My question is what controls the order in Table 1?