Problem with ADT integer on xharbour december build
Posted: Thu Jan 10, 2008 3:11 pm
This little example create a simple ADT table with some integer fields.
It works with xharbour november build and show right values:
Regards
It works with xharbour november build and show right values:
with xharbour december build (and last CVS too!!!) don't works and show this:10000000
10000
100
Any suggestion?****
****
**
Regards
Code: Select all
#INCLUDE "ADS.CH"
#include "FiveWin.ch"
function Main()
rddRegister( "ADS", 1 )
rddsetdefault( "ADS" )
SET SERVER LOCAL
SET FILETYPE TO ADT
DbCreate( "testadt.adt", { { "field1", "N", 8, 0 },;
{ "field2", "N", 5, 0 },;
{ "field3", "N", 3, 0 } } )
USE testadt
testadt->(dbappend())
testadt->field1 := 10000000
testadt->field2 := 10000
testadt->field3 := 100
testadt->(dbcommit())
testadt->(dbgotop())
testadt->(msginfo(str(field1) + CRLF + str(field2) + CRLF + str(field3)))
USE
return nil