Implementing the C enum Keyword
Question: I’m porting my C code to Java and would like to know how I would implement the C enum keyword to Java. Answer: There is no convenient mechanism for
Question: I’m porting my C code to Java and would like to know how I would implement the C enum keyword to Java. Answer: There is no convenient mechanism for
Question: The MoveFile command does not work for me with some filenames. An example is as follows :MoveFile(‘C:CIPLINCOMING199702110408440000000000.SAV’, ‘C:CIPLARCHIVE’);yet, if I try to move a file called ‘test.sav’ with the
Question: *Delphi will not start anymore after adding component.*In Delphi 2.01 C/S after compiling a program and then changing the .DCL with Open Library or compiling a new component library
Question: Is there a SQL equivalent to Delphi’s Pos() function? Answer: You bet. It’s called the SUBSTRING function. Like the Pos function,the SUBSTRINGfunction in SQL will return a substring of
Question: In many of my applications, when I perform a query, I write itout to disk, using a TBatchMove. How can I create a component that willcombine the functionality of
Question: How can I load a list like a TComboBox Items property with the list of valid aliases at runtime? Answer: There are two ways to do this. The first
Question: I have an applet with dialog boxes, text fields and buttons.What can I do with the user input? How do I get it out of the applet?What else can
Question: I am a little puzzled by the question and answer headed”Databases: how can I use two different Data Controls to displaydata from a single DataSource and Table?”What is the
Question: How can I include random numbers drawn from a Poissondistribution in my applications? There is only a Gaussian distribution in java.util.Random. Answer: Well, this one is a little off