[Gambas-user] Passing ... parameters
Fabien Bodard
gambas.fr at ...626...
Sat Dec 10 07:08:36 CET 2011
Public Function DBRead(...) as Boolean
Dim localtarget as Object Dim localquery as String Dim
localsort as String
If Param.Count = 1 and Param.all[0] is QBE then
decipher_QBE(Param.all[0],localtarget,localquery,localsort)
Return Super.DBRead(localobject,localquery,localsort) else
Return Super.DBRead(Param.All) Endif
In fact "..." generate an array of variant, you can have it in "all"
when you call DBRead(ParamAll) you pass an array of variant.
More information about the User
mailing list