[Gambas-user] Debug Watch Crash Array Definition
Dimitri Bellini
dimitribellini at ...69...
Mon Mar 1 13:54:35 CET 2004
Dear all
i send it last week and forgot to say i use mdk 9.2 and i found strange
problem with Array and Debug watch can someone say some consideration about
it? Im in wrong ?
Thanks in advance
Dimitri Bellini
------------------------------------------------------------------------------------------------
Dear Benoit
Thanks for great improvement Gambas Editor !!!
I have made this simple function to query mysql and return the data in
Array...
------------------------------------------------------------
PUBLIC SUB CliUsed()
DIM sQuery AS String
DIM rData AS Result
DIM sData AS String
DIM id AS Integer
DIM aCliUsed[100,3] AS String
sData=txtDate.text
sQuery="select IDCust,AnaCust from log join Customer on
log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by
source"
rData = $hConn.Exec(sQuery)
IF rData.Available THEN
DO
aCliUsed[id,1]= rData["cardID"]
aCliUsed[id,2]=rData["AnaCust"]
INC id
LOOP UNTIL (rData.MoveNext()<> true)
ENDIF
CATCH
Message.Error(Error.Text)
END
------------------------------------------------------------------
But when i try to debug using Step by Step mode and put in Debug Watch the
array in mode:
aCliUsed[id,1] -- the first work and i see the value
add the second
aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by raising
signal #11" and say to report this bug..
Thanks in advance
Dimitri Bellini
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
-------------------------------------------------------
More information about the User
mailing list