... test it and report any problem. Thanks. Andi //------------------------ Andi YES .. In build 9444 it appears that all your changes work GREAT .. Math between DateTime variables work as well as writing the value of DateTime back to SQL tables work as well. Many Thanks Rick Lipkin
... would hope for the sake of 'clipper' compatibility the xHarbour folks can make their new T valtype work. So far I have tested two commits and the math and comparison operators now work. Unfortunately, when the value writes back to the Ado datetime field the table stores 12:00 am only :cry: I think ...
... .. xHarbour "NOW" considers this expression to be valtype T... prior to valtype D. The problem occurs where you do some math or comparison between dDate as in : nDiff := Date() - dDate or If Date() < dDate .... As you can see the datatype mismatch can be a potential ...
... + KEY_ENUMERATE_SUB_KEYS + KEY_NOTIFY + KEY_CREATE_LINK) & (~SYNCHRONIZE)) For example KEY_ALL_ACCESS is 0xF003F, which is 983103, not 63 : Math calc. explained at http://www.the-mindseye.co.uk/DllBinder/Registry_access_comments.shtml Hi, Davide
... reference to `fmod' ./lib/libhbvm.a(hvm.o): In function `hb_vmPower': hvm.c:(.text+0x560d): undefined reference to `pow' ./lib/libhbrtl.a(math.o): In function `HB_FUN_EXP': math.c:(.text+0x7dd): undefined reference to `exp' ./lib/libhbrtl.a(math.o): In function `HB_FUN_LOG': math.c:(.text+0x912): ...
Ésta es la parte de mi prg donde me sale el error.... ---------------------- #pragma BEGINDUMP #include "windows.h" #include "math.h" #include "hbapi.h" HB_FUNC( TANG ) //Aggiunta funzione aTan { hb_retnd((double) tan((double)hb_parnd(1) )); } HB_FUNC( ATN ) { hb_retnd((double) ...
Ciao Enrico. Ho risolto il problema aTan() in serendo queste righe: #pragma BEGINDUMP #include "windows.h" #include "math.h" #include "hbapi.h" HB_FUNC( ATN ) { hb_retnd((double) atan((double)hb_parnd(1))); } #pragma ENDDUMP Mi rimane il problema della finestra ...
... using negative numbers for points (and we must use points instead of pitch for equal-spaced fonts like Courier). In this case, the "-" sign isn't mathematical -- it doesn't mean (as math rules would suggest) that your point size gets smaller as the integer gets bigger. Just the reverse. The bigger ...