--------------- FIDO MESSAGE AREA==> TOPIC: 139 FOXPRO Ref: E3L00000 Date: 03/14/97 From: MICHAEL DOUGHERTY Time: 11:52pm \/To: DEN BARNES (Read 2 times) Subj: Scoping Issues I'm using Foxpro 2.6 on a Win95 platform. I declare 18 variables to be the numbers 1-18, so i can use meaningful labels in my code, rather than the numbers. (this also makes it easy to change the order certain details are examined) These 18 name constants are declared PUBLIC in the Setup snippet of the ScreenBuilder, then initialized to their values. The screen control (@ GET) calls a procedure, which conditionally calls another procedure to do the specific work in each case. When the working procedure tries to reference the global variable, the procedure works the first time it is entered- but the second time the procedure is called, the program halts because the variable (my public constant) cannot be found. Debug shows no value just after control passes to the procedure (the second time) Is there a scoping restriction that makes variables available only to immediate child procedures, but not grandchildren? Is there a way around this, without actually passing 18 extra parameters? (possibly something like VBa (Excel 5.0) "ParamArray") --- PCBoard (R) v15.3 (OS/2) 5 * Origin: Yardley, PA (1:273/239) --------------- FIDO MESSAGE AREA==> TOPIC: 139 FOXPRO Ref: E3L00001 Date: 03/15/97 From: MIKE FELLHAUER Time: 09:07pm \/To: DAVID POWELL (Read 2 times) Subj: FoxBASE programs... MF> Thanks. I checked out the magazine, but it'd be cheaper for us MF> to rewrite the required code. DP> There must not be very much code then. Even at $50 an DP> hour, that is less than 3 hours of work. I charge more and DP> I hope _you_ do, too. You're saying that I should charge myself for modifying the program. Let's see how that would go: Me: "Hi, I have this program that I need updated." I: "Well, I charge $50 an hour." Myself: "I'm sorry, but that's much too expensive...myself will have to do it. It's kinda difficult to bill yourself! ;) --- Maximus 2.02 * Origin: The House of Comments (1:250/620) --------------- FIDO MESSAGE AREA==> TOPIC: 139 FOXPRO Ref: E3L00002 Date: 03/16/97 From: MIKE FELLHAUER Time: 05:05am \/To: JEFF HORN (Read 2 times) Subj: Foxpro JH> Do they make a dos version of foxpro? Wrong tense of verb. They MADE a version of Foxpro for DOS. They NO LONGER MAKE it for DOS. ;) You may be able to find a copy at a used computer/software store. --- Maximus 2.02 * Origin: The House of Comments (1:250/620) --------------- FIDO MESSAGE AREA==> TOPIC: 139 FOXPRO Ref: E3L00003 Date: 03/16/97 From: SAMEER TAWAKKOL Time: 01:28pm \/To: ALL (Read 2 times) Subj: playing wav or midi files This message was from SAMEER TAWAKKOL to ALL originally in conference FN_visual_bas on HOMLON (Home Alone BBS) and was forwarded to you by DAR ALBLAGH ---------------------------------------- This message was from SAMEER TAWAKKOL to ALL originally in conference IN_Software on HOMLON (Home Alone BBS) and was forwarded to you by DAR ALBLAGH ---------------------------------------- This message was from SAMEER TAWAKKOL to ALL originally in conference IN_Programmin on HOMLON (Home Alone BBS) and was forwarded to you by DAR ALBLAGH ---------------------------------------- This message was from SAMEER TAWAKKOL to ALL originally in conference IN_Audio-Vide on HOMLON (Home Alone BBS) and was forwarded to you by DAR ALBLAGH ---------------------------------------- This message was from SAMEER TAWAKKOL to ALL originally in conference IN_Music on HOMLON (Home Alone BBS) and was forwarded to you by DAR ALBLAGH ---------------------------------------- Hi everybody, I am working on a project with visual fox pro and during the program I need to call a program that can play a .wav or .mid files. up to here there is no problem. what I need is a program that can play the .wav or .mid file and then close and return the control to the fox pro program. Can any body recommend for me a program that can do that (shareware of freeware). please note that the program will be executed from fox pro and the file name will be as parameter included in the execution command. look forward to hearing from any body, Thanks and best regards, Sameer Tawakkol. --- QMPro 1.53 Soon To Be A Major Motion Picture. --- QMPro 1.53 Soon To Be A Major Motion Picture. --- QMPro 1.53 Soon To Be A Major Motion Picture. --- QMPro 1.53 Soon To Be A Major Motion Picture. --- QMPro 1.53 Soon To Be A Major Motion Picture. --- QMPro 1.53 Soon To Be A Major Motion Picture. * Origin: FidoNET: Home Alone BBS Jeddah, KSA [+9662]6611062 (2:542/500) --------------- FIDO MESSAGE AREA==> TOPIC: 139 FOXPRO Ref: E3L00004 Date: 03/15/97 From: ABB NAKLIE Time: 06:50pm \/To: DAVID POWELL (Read 2 times) Subj: Re: BBS -=> Quoting David Powell to Abb Naklie <=- Hi David: AN> So after April 1st, unless the closing date is extended, that'll be AN> it from.... DP> And you _will_ be missed. I, personally, will miss your whining, too. "whining"???? I don't think I was that bad . But I'll agree with you. VFP 5 was soooooo different from anything else I've used, that, I did sorta "whine". But through the "whining", I still praised it . I'm starting to somewhat get comfortable with it. I certainly have no regrets about getting it. It looks like it won't be till the end of April now before he shuts it down - something to do with his daughter. Wonder how much "whining" I can get in before that....:) DP> david.powell@chrysalis.org Thanks! When you see a message from "David Mayville", it'll be me. Say, do you ever visit MS's FoxPro site - I've never seen your name in any of the messages. I hit it every day. Take Care, Abb ... Memory dump: Amnesia. --- Blue Wave/DOS v2.30 [NR] - JetMail v1.20 6 - Unregistered QWK Mail Door for Spitfire --- SFScan v2.00 * Origin: (1:246/89.0)