BBC BASIC for Windows
Programming >> BBC BASIC language >> Automated IDs
http://bb4w.conforums.com/index.cgi?board=language&action=display&num=1412967020
Automated IDs
Post by Matt on Oct 10th, 2014, 6:50pm
Hi,
I've been experimenting with using ID variables rather than ID numbers using structures as indicated in the Wiki page 'Allocating item IDs Automatically', specifically, in my case, with dialog boxes.
Is this a normal routine for some programmers?
I have a preference routine that uses a dialog box which contains around 45 controls, many of them static and group which will not be accessed anywhere else in the program (in fact, the dialog box, itself, is only accessed in one subroutine). Would the normal routine be to allocate variables to all controls or just those that might require attention elsewhere? (All the dialog boxes contain, maybe, three hundred controls.)
Are there any regular protocols for this system?
I value Richard's replies greatly, but I would also like to hear from other programmers, too.
Matt