Results 1 to 4 of 4

Thread: Passing String To a function

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    chennai,tamilnadu,india
    Posts
    29

    Post

    Hi all,

    If we pass a very big string to function which is received in a string argument it gets trauncted or if we pass a string smaller than 256 bytes the remaining space is wasted.
    How can this problem be overcome efficently

    Thanx
    Murali

  2. #2
    Lively Member
    Join Date
    Jul 1999
    Posts
    99

    Post

    declare fixed-length strings

    ' This statement declares a fixed length string.
    Private sString as String * 5

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    chennai,tamilnadu,india
    Posts
    29

    Post

    Hi tonio,

    What u said is right,but if a variable string is passed the problem exists.
    is there any solution to that.

    thanx for replying
    regrds
    Murali

  4. #4
    Lively Member
    Join Date
    Jul 1999
    Posts
    99

    Post

    what are you doing anyway?

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