Hi,
Because Java Print Services is not complete, I need to send control characters to a printer prior to the printable data itself to effect Landscape printing.
As a Doc can be declared to use an INPUT_STREAM, one way of doing this, appears to be to use SequenceInputStream with the first...
Like I said, you can download the source code for IB6 - you don't have to implement it in your production environment - but you look in the code to see how they do the parsing and then use this info to implement your own parser.
Personally, I like Interbase as a DBMS, but the supplied UIs are...
I don't think that PREPARE is what you are looking for. It appears to be a DSQL statement for use in embedded SQL, not something you can use directly as part of an SQL statement.
Take a look at Interbase 6 - it's open source so you could look at the parsing code itself (if all else fails).
Interfaces are often used for "plug-in's" where the host program doesn't need to know about the implementation, just that a particular object will support particular method signatures.
Interfaces are the foundation of COM (that's just a statement, not a recommendation) - so if you do...
To expand on what I mean...
If your app only needs to deal with squares, and will only ever need to deal with squares, then a Squares class is all you need - Shapes and Rectangles don't come into it.
If your app only needs to deal with squares now, but in the future will need Rectangles and...
What I meant was be careful not to get yourself into a corner. I agree that you don't want to add functionality you don't need, but you do (imho) want to make sure that the framework is extensible.
This is the crux of OO - namely, reaching an appropriate level of abstraction. It really does depend what you want you app to do both now and in the future.
On the face of it, I'd be inclined to say that a Square was an instance (object) of the Rectangle class whose properties (height and...
I have a Query in Access 97 which uses some VB functions to derive the value of various fields in the query based on other values in the row. So for example a VB function f(x,y,z) is defined so that if z > 10 then the value returned is x+y, otherwise its just x. The query then runs like SELECT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.