home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!usc!usc!not-for-mail
- From: lapworth@mizar.usc.edu (Bill Lapworth)
- Newsgroups: comp.databases
- Subject: UDF problem in FoxBase+
- Date: 8 Jan 1993 13:21:32 -0800
- Organization: University of Southern California, Los Angeles, CA
- Lines: 24
- Message-ID: <1ikr8sINN5bq@mizar.usc.edu>
- NNTP-Posting-Host: mizar.usc.edu
-
-
- * I'm playing with FoxBase+ without a manual (it's coming, but not too
- * soon!) and I can't get a UDF to work in the valid clause.
- *
- * If I run the following code, I get a 'file not found' error message
- * upon exiting the get
-
- height = 100.0
- @ 0,0 clear
- @ 3,1 say "Height in CM: " get HEIGHT valid isok(HEIGHT)
- read
- cancel
-
- function isok
- parameter value
- return iif( value > 150, .F., .T. )
-
- * I tried moving the UDF isok to it's own .prg file and added the following
- * line at line 1: set procedure to c:\spiro\isok
- * This time I got the error message 'No parameter statement found'
-
- * Anybody got any clues?
-
-
-