SYS(2024) is a documented command in VFP9. It has to do with running reports. If the report is interrupted before finishing, it returns "Y" to indicate the report was cancelled.
Cathy Pountney > -----Original Message----- > From: [email protected] [mailto:profoxtech- > [email protected]] On Behalf Of Bill Anderson > Sent: Saturday, December 11, 2010 7:55 PM > To: [email protected] > Subject: Undocumented SYS functions > > Hive mind (OK, fellow VFPers), > > I've been adding what I've been above to derive and know about > undocumented > VFP functions at > http://fox.wikis.com/wc.dll?Wiki~CategoryUndocumentedVFPFunctions. > > There are several undocumented SYS functions that look interesting but > I > haven't been able to figure out what they do or if they do anything. If > anyone has a moment would you mind poking around a bit and see if you > can > determine the behavior of these functions? > > The most interesting one appears to be SYS(2400) if for no other reason > the > the return values are not consistent. > > Below are my notes to myself regarding the "interesting" undocumented > SYS > functions...and please look on the Wiki for more details on these > functions. > > -- > > SYS(104) -- Good for all versions of Fox. > > Only values of 0 and 1 are accepted. No return value. > > SYS(986) -- Only valid for VFP 9. > > Only accepts 0 through 10 as a second parameter. A logical is returned. > > SYS(988) -- Only valid for VFP 9. > > Only accepts a logical as the second parameter. > > SYS(1029) > > SYS(1029, 0) creates "old" style menus, SYS(1029, 1) restores. > > Second parameter has to be a value between 0 and 65535. > > SYS(1030) -- VFP 9 only. > > SYS(1030, 1) returns "1", SYS(1030, 0) returns "0". What gets switched > on? > > SYS(1039) -- Goes back to FPD 2.6a. > > ?SYS(1039, 0) displays "OFF" > > ?SYS(1039, 0) displays "OFF" > > ?SYS(1039) display "ON". > > SYS(1078) -- VFP 5.0 and later. > > Nothing returned but error checking being done. Numeric second > parameter > accepted. > > SYS(2008) -- Valid for all versions. > > Second parameter only accepts character values. > > SYS(2024) -- For FPW 2.6a and VFP, returns "N". > > SYS(2025) -- For FPW 2.6a and VFP, returns "Y". > > SYS(2026) -- Valid for all versions. > > Give a character second parameter and it returns "N". > > SYS(2050) -- Valid for VFP 7 and later. > > Second parameter accepts a numeric value between 1 and 10 and then > returns > that value as a character string. > > SYS(2338) -- Valid for VFP 6.0 and later. > > Accepts up to eight characters as a second parameter. The bare call > returns > the last value. > > SYS(2400) -- Valid for VFP 7.0 and later > > Seems to be related to FoxCode. > > SYS(2701) -- Valid for VFP 8 and later. > > Returns "{l:0,t:0, w:0, h:0}" > > SYS(3001) -- Only valid for VFP 9. > > Accepts any second parameter but no value is returned. > > SYS(3090) -- Valid for VFP 6 and beyond. > > Returns a numeric 1 or 0 and is the only two valid second parameters. > > SYS(3100) -- Valid only for VFP 9. > > Second parameter must be a non-negative number. No value is returned. > > SYS(3102) -- Only valid for VFP 9. > > Returns .t. or .f. based on a logical second parameter. > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/009901cb9a0b$7eecb170$7cc614...@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

