realbasic-plugins
[Top] [All Lists]

Re: REALstring problem

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: REALstring problem
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Tue, 20 Jul 2004 09:05:35 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
List-help: <mailto:realbasic-plugins-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Plugins <realbasic-plugins.lists.realsoftware.com>
List-post: <mailto:realbasic-plugins@lists.realsoftware.com>
References: <882288CA-DA54-11D8-AA3B-000A95B947DC at toomuchspace dot com>
I'm not sure how this relates to the effect you're seeing, but I do see two errors in your function. First, you lock the string but never unlock it. (Easiest fix is to not lock the string; that's fine because you're not keeping a reference to it.) Second, you say the second parameter to REALDebugMsg is an int, presumable the length of the string, but you're passing in s[i] where I would expect you to pass a 2.

Best,
- Joe


--
35 years ago today, humanity first visited another world.
Happy Apollo Day!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>