<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I think that when you establish the attribute that gets points, it has
to be a Long, not just a regular numeric attribute. That Long attribute
accommodates larger numbers.<br>
<br>
Leisha Wharfield<br>
Decision Research<br>
Eugene, Oregon USA<br>
<br>
De Brito, Stephane wrote:
<blockquote
cite="mid5626ED9CB91C814197079FB9940312E501B0772A@MAIL.bc.iop.kcl.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Wingdings 2";
panose-1:5 2 1 2 1 5 7 7 7 7;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<script type="text/javascript" src="http://127.0.0.1:37935/xpopup.js"></script></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
<div class="Section1">
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">Dear E-prime experts,<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">In one of my experiments,
I have a counter on the screen that shows to the participants how many
points
he has. However, when the counter reaches 32'000 points or more I get
an error
message saying that there is overflow. I found an entry in the list
mentioning
that this happens when an integer variable reaches thirty-two thousand
or more,
but there was no info as to how to fix this. What can I do to solve
this
problem? Any help is much appreciated. Thank you in advance. I have
copied
below the inline script where the problem occurs - line 3.<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">Best wishes,<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">Stephane<o:p></o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style=""><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">' InLine - InLine1 BEGIN<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">
'''''''''''''''''''''''''''''''''''''''''''''<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> If ImageDisplay1.RESP =
ImageDisplay1.CRESP then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font><span lang="FR">point_fdbk
= c.getAttrib
("points")<o:p></o:p></span></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="FR"> </span></font>total_point
= total_point +
c.getAttrib ("points") <font face="Wingdings"><span
style="font-family: Wingdings;" lang="IT">ç</span></font><b><font
size="2"><span style="font-size: 10pt; font-weight: bold;">where the
problem occurs</span></font></b><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">elseif ImageDisplay1.RT = 0 Then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> total_point =
total_point <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">elseif ImageDisplay1.RESP <>
Imagedisplay1.CRESP then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font><span lang="FR">point_fdbk
= c.getAttrib
("points")<o:p></o:p></span></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="FR"> total_point =
total_point - c.getAttrib
("points")<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">'elseif ImageDisplay1.RT = 0 Then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">' total_point =
total_point <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="IT">end if<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="FR">c.SetAttrib "point_fdbk", point_fdbk<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">c.SetAttrib "total_point", total_point<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">If ImageDisplay1.RT = 0 then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> If c.GetAttrib ("punishment") = 0
then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> omission_counter = 1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">
passiveavoidance_counter = 0 'added between
subject 5 & 6<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> else<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> omission_counter = 0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">
passiveavoidance_counter = 0 'added between
subject 5 & 6<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> end if<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">end if<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">If ImageDisplay1.RT >0 then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> If c.GetAttrib ("punishment") = 1
then<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">
passiveavoidance_counter = 1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> omission_counter = 0
'added between subject 4
& 5<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> else<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">
passiveavoidance_counter = 0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> omission_counter = 0
'added between subject 4
& 5<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> end if<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">end if<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;">c.SetAttrib "omission_counter",
omission_counter<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="IT">c.SetAttrib
"passiveavoidance_counter",
passiveavoidance_counter<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="IT"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">-----------------------------------------------------------------</span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Stephane De Brito, PhD
student<o:p></o:p></span></font></p>
<p class="MsoNormal"><st1:place w:st="on"><st1:PlaceType w:st="on"><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Institute</span></font></st1:PlaceType><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> of <st1:PlaceName
w:st="on">Psychiatry</st1:PlaceName></span></font></st1:place><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">King's College <st1:City
w:st="on"><st1:place w:st="on">London</st1:place></st1:City><o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Forensic Mental Health
Science Department </span></font><o:p></o:p></p>
<p class="MsoNormal"><st1:address w:st="on"><st1:Street w:st="on"><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Box</span></font></st1:Street><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> P023</span></font></st1:address><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> </span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">De Crespigny Park </span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Denmark Hill </span></font><o:p></o:p></p>
<p class="MsoNormal"><st1:City w:st="on"><st1:place w:st="on"><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">London</span></font></st1:place></st1:City><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> SE5 8AF</span></font><o:p></o:p></p>
<p class="MsoNormal"><st1:country-region w:st="on"><st1:place
w:st="on"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">United Kingdom</span></font></st1:place></st1:country-region><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> </span></font><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Wingdings" size="2"><span
style="font-size: 10pt; font-family: Wingdings; color: navy;" lang="IT">(</span></font><font
color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">: + 44 (0)
20 7848 0711<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Wingdings 2" size="2"><span
style="font-size: 10pt; font-family: "Wingdings 2"; color: navy;"
lang="IT">7</span></font><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">: + 44 (0)
20 7848 0754</span></font><o:p></o:p></p>
<p class="MsoNormal"><font color="black" face="Wingdings" size="2"><span
style="font-size: 10pt; font-family: Wingdings; color: black;"
lang="IT">*</span></font><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">: </span></font><font
color="navy" face="Wingdings" size="2"><span
style="font-size: 10pt; font-family: Wingdings; color: navy;" lang="IT"><a
href="mailto:stephane.debrito@iop.kcl.ac.uk"><font color="black"
face="Arial"><span style="font-family: Arial; color: black;"
lang="EN-GB">stephane.debrito@iop.kcl.ac.uk</span></font></a></span></font><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Webdings" size="3"><span
style="font-size: 12pt; font-family: Webdings; color: navy;" lang="IT">"</span></font><font
color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">:
<a class="moz-txt-link-freetext" href="http://www.iop.kcl.ac.uk">http://www.iop.kcl.ac.uk</a></span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
</div>
<script type="text/javascript">_popupControl();</script>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
“And then many things happened at the same moment.”
</pre>
</body>
</html>