Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: handles pass strings
Date: Sat, 7 Nov 2009 18:39:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <hd4es5$jto$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257619141 20408 172.30.248.38 (7 Nov 2009 18:39:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 18:39:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1966936
Xref: news.mathworks.com comp.soft-sys.matlab:583248


Do "handles" pass strings?  I have a program that enters a string using a popup box and passes it using handles to a input callback then an Evaluation callback.  The proces worked for a number.  In the Evaluation callback there is an error:

if alpha = 'A' then
    delta = -delta;
end;

The error is in the equals statement in "if alpha = 'A' then".  Does this mean that "handles" is not passing strings thru alpha to the Evaluation callback?