User Tag List

Results 1 to 3 of 3

Thread: null terminated strings

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    null terminated strings

    If i send two null terminated strings and read them on the other end.

    Add string "Hello"
    Add string "Cat"

    String$( "Client", 0 ) = "Hello"
    String$( "Client", 1 ) = "ello"

    Is that how its supposed to be? Why cant i read strings by index of null termination? Or is there no such index?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    There is no such index. The number parameter to the expression is the byte to start at. You need to use the length of the first string to calculate the offset of the second string.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, thanks.

Similar Threads

  1. [BUG 257.6] Preferred Language returns null string
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 10th March 2013, 11:45 PM
  2. Null Object - Lack of error catching?
    By knpmaster in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 9th April 2010, 09:32 AM
  3. Binary and null :(
    By Tomek in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th February 2010, 01:13 PM
  4. SQLite3 null value issue
    By jdv in forum File Archive
    Replies: 1
    Last Post: 15th May 2009, 04:40 PM
  5. How to write the NULL ASCII character?
    By Pablo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th February 2008, 01:00 PM

Posting Permissions

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