Pass by reference?
dale at out-think.NOSPAMco.uk
Wed May 24 22:07:17 CEST 2000
How do I pass a value by reference so the called routine can update it?
Here's an extract from a routine that uses ADO on NT to access a database.
ADO will return the number of records deleted in the second parameter but
it's not working like this.
DBCon.Execute("delete from parts where path='%s' and drive='%s'" %
(drive, path), delcnt)
Out-Think Ltd, UK
Business Technology Consultants
More information about the Python-list