Results 1 to 4 of 4

Thread: The Left$ function no longer works

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Posts
    17
    Help, the Left$ no longer works in my module. I get an "Type Declaration Character does not match declared data type". If I remove the $, it thinks it's an undeclared variable. Any Suggestions? This module has run correctly before.

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ...

    somehow u must have messed up your references....
    as a mattter of fact it's not just the left$
    that won't work ut the right$ also

    I think this was debated on this site... sometime ago

    do a search for left$ or something like that

  3. #3
    Guest
    Maybe you are using it incorrectly, because it works fine for me.
    Code:
    Function func()
        MsgBox Left$("123", 1)
    End Function

  4. #4
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Make sure you are using the string function on a string.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width