Integers

Jan Schenkel janschenkel at yahoo.com
Sat Nov 6 05:18:49 EST 2004


--- Ken Norris <pixelbird at interisland.net> wrote:
> Howdy,
> 
> I want to throw a dialog if a user incorrectly
> enters anything but a 
> whole number. How do I determine if a number is an
> integer?
> 
> Ken N.
> 

Hi Ken,

You were so close : 
  if theVariable is not an integer then
    answer "Please enter a whole number"
  end if

Hope this helped,

Jan Schenkel.

=====
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



More information about the use-livecode mailing list