Hi,
If you trace through the code of the SQL Helper, specifically this snippet:
nNumberOfInstances := Len( aInstances )
If nNumberOfInstances > 0
For nThInstance = 1 To nNumberOfInstances
sInstance := aInstances[ nThInstance ]
If Empty( sInstance )
aInstances[ nThInstance ] := NIL
Elseif sInstance == "MSSQLSERVER" // Default instance
sInstance := sComputerName
aInstances[ nThInstance ] := sInstance
Else
// Otherwise, just append the instance name to the
machine name
sInstance := sComputerName + "" + sInstance
// ************************************************************
// *****After the following line, the sInstance variable contains e.g.
MYPCFIRSTINSTANCE:
aInstances[ nThInstance ] := sInstance
// *****, but aInstances[ nThInstance ] contains MYPCFIRSTINSTANCE,
with a double backslash.
// ************************************************************
Endif
, notice that if you equate an array element to a string with a single
backslash, the array element contains a double backslash.
The extra backslash is obviously used behind the scenes as an escape
character, because of the C language foundation for xHarbour. But it
shouldn't be displayed that way, on the surface.
Regards,
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.