Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: error with simple condition
From: Alain LCSI <alain@xxxxxxx>
Date: Mon, 07 May 2007 07:16:26 -0400

Hi,

Don't user PR to print a number in the text boxes. When you do so, the text box contains a number AND A CARRIAGE RETURN. This is what is reported be TEXT1 and 2, and that is not a valid input for "+". If you do
text1, pr 5
show text1
5
show count text1
2
you see that text1 contains the number 5, and something else.

Instead of PRINT, use
text1, insert random 10
or
settext1 random 10


Alain Tougas
alain@xxxxxxx
B: (514) 939-8700 poste 237



Le 07-05-07 à 05:45, zehava wizman a écrit :

Hello Forum
here attach a project with one simple condition that has to be checked if sum of 2 values entered in textboxs is a specific number and has to do something.
There is an error WHY?
       thanks, Zehava Wizman

Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
<condition.mw2>


  • Previous by thread: error with simple condition
  • Next by thread: condition

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008