On May 28, 2006, at 3:53 PM, [EMAIL PROTECTED] wrote:

W.r.t.  VB to RB conversion, some legacy code has turned up a puzzle.
The puzzle is:  How should the bang operator (!) be translated to RB?
Looking at undocumented code in a database context, it looks as if
!x is equivalent to ("x") and ![x y] is equivalent to ("x y"), but one
also finds code such as

      With XXX
            !NameID = txtFields(2).text
          . . .
      End with

and code such as

     frmTemp!cmdOK.Top  =  . . .
     frmTemp!linD(2).X  =  . . .

where it appears that the symbol !  can be replaced by the period.

MS VB5 manuals are strangely silent (as if the bang operator does
not exist), yet the VB5 compiler accepts the ! notation and produces
usable code.  The VB5 Help facility is also silent on the subject,
although it accepts the ! as an query input.

So, is there advice as to conversion of this phantom?

my VB 5 reference shows this one at least 3 time in the help (right at the beginning)

        ! as a data type (single)

        ! as a DAO operator for the table defs collections

        ! as an operator for the LIKE operator used as a NOT

it does not mention the use to reference an item on another form






_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to