Comparing Strings
Helen Tibboel
hftibboel at gmail.com
Tue Aug 5 15:24:55 UTC 2008
Hello,
Are you sure that both strings are actually read as strings? You can convert
an expression using the "CStr" function.
Kind regards,
Helen
On 8/5/08, David <ddiodati at gmail.com> wrote:
>
>
> Hello,
>
> I am trying to compare two strings, and mark correct answers as 1 and
> incorrect as 0. This is my inline:
>
> If EmotionPerceived = c.GetAttrib("Emotion") Then
> NameEmotion.ACC = 1
>
> Else
> NameEmotion.ACC = 0
>
> End If
>
> I have a similar inline in a different eprime and it seems to work
> fine. It is almost like this one doesn't even register. It compiles
> fine, but does not change the NameEmotion.ACC value in the edat file.
>
> Any help is much appreciated,
>
> David
> >
>
--
"I had a beautiful signature in those days, intricate, oriental, illegible,
with a mighty slashing underscore, a signature more complex than that of the
great Hackmuth."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20080805/0659e3bf/attachment.htm>
More information about the Eprime
mailing list