I have problems with host variables. I'm programming in ESQL/C with MS Visual. I must pass several host variables to a function but I don't know how I could it.
Example :
void main (void)
{
EXEC SQL BEGIN DECLARE SECCTION;
long test;
EXEC SQL END DECLARE SECTION;
testMethod(test)...
I would like use the instruction FUNCTION with the dates...But I don't know which instruction of these two is right (or are the two right??)
1. FUNCTION DATE-TO-INTEGER (zone)
with zone : YYYYMMDD
which returns the number of days since 1/1/1600
OR
2. FUNCTION INTEGER-OF-DATE (num)...
Heps! I have a big problem...I usually used the function
clrscr() in the Borland C 5.0 to clear the screen and I'm using Visual C++ 5.0 and also 6.0 and it doesn't want to compile the program and run it!! I don't find the right instruction to use with the Visual C++ 5.0...
Could help me...
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.