home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 22.4 GET_F_SET
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- //───── NOTE: must compile with the /N option!
-
- function get_f_set()
- LOCAL f_value:=20,clip_set:=getenv("CLIPPER"),x
- if !empty(clip_set)
- if (x:=at("F",clip_set)) > 0
- f_value := val(substr(clip_set,x+1,3))
- endif
- endif
- return f_value
-
- // end of file CHP2204.PRG
-