Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

deleted by uploader

For general discussion related FlowStone

deleted by uploader

Postby tiffy » Sat Feb 28, 2015 10:34 am

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:50 pm, edited 1 time in total.
User avatar
tiffy
 
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

Re: WHAT AM I DOING WRONG HERE ?

Postby KG_is_back » Sat Feb 28, 2015 12:26 pm

Just as I suspected... source contains additional "newline" character at the end ( newline character is made of two "\r\n") which is not visible. That means the first source is also two chars longer (74). string prim unlike text prim doesn't display newlines, therefore they are not even copied from it = copy of source 1 is equal to source 2

The best solution to this would be to track where the newline is added and prevent that from happening. Alternatively you may use "string section" prim to force source1 be the same length as source 2 (effectively removing the "\r\n")
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

deleted by uploader

Postby tiffy » Sat Feb 28, 2015 2:08 pm

deleted
User avatar
tiffy
 
Posts: 400
Joined: Wed May 08, 2013 12:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 72 guests