CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    STRING Variables

    Hello
    How can I declare a STRING variable that can contains more than 264 characters?
    I don't want to concatain sereral STRING variables, that's why i ask this Q !
    Thanks
    TS


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: STRING Variables

    Why? what is so santimoneous about 264!
    dim szstr as string(265) should give you 265 chars
    szStr = space(1024) gives you 1024
    szstr = string(2048,'q') gives you a string of 2K chars filled with q's

    RK

  3. #3
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: STRING Variables

    Why? what is so great about 264!
    dim szstr as string(265) should give you 265 chars
    szStr = space(1024) gives you 1024
    szstr = string(2048,'q') gives you a string of 2K chars filled with q's

    RK

  4. #4
    Guest

    Re: STRING Variables

    In Fact I'M using VB for ACCESS, and in this VB the STRING type is not the same than in VB. You are limited to 256 character. So i'm oblige to concatain several variable !
    Thank's


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

Featured