realbasic-nug
[Top] [All Lists]

Re: Function Help

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Function Help
From: Will Leshner <leshner at ljug dot com>
Date: Tue, 31 Aug 2004 11:44:21 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <6DA4EC73-FB5F-11D8-836E-000A95CC8426 at lumigen dot com> <E28B45E8-FB60-11D8-B88E-000A95E5406A at gsco dot de> <E6865B83-FB62-11D8-836E-000A95CC8426 at lumigen dot com> <B12FCE92-FB71-11D8-9661-000A95983FBE at ljug dot com> <DBB7C580-FB7C-11D8-836E-000A95CC8426 at lumigen dot com>

On Aug 31, 2004, at 11:37 AM, Jason Boes wrote:

Well I don not know anyone that does programming and I have been trying to figure this out myself. What am I doing wrong. My goal is to enter a minimum weight in a textfield. Then compare that to the weight that the scale reports. If the reported weight is less than the weight value in the textfield I want it to give an alarm. The code I have is in my first post. I have done a few examples from resexcellence and I have the books by Matt Neuburg and Michael Swaine.


I think the first thing you should do is get CutOffWeight working correctly. The way you wrote it, it can't work, because it doesn't return a value. Frank offered a version that does work.

--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>