Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for diskettes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008888
Message ID:
00009170
Vues:
30
>>>>> I think that part of the problem with me is I dont always get what they mean in the API references. After looking at the SetErrorMode() API call in The WIN32 API bible and in the .hlp file I am still a little unsure just where do we get the 0 and the 1 from. Am I staring right at it? Possibly overlooking the obvious. I see the 'SEM_FAILCRITICALERRORS' type parameters and I dont know how to acces that or how that is equivelent to a 1 or 0.
>>>>
>>>>
>>>>Yep, Forest & Trees... (s) Who cares how you get 0 or 1 just use them! You can spend hours looking in MS Constant files. Since it is your code in a VFP program I do not think being 100% MS syntatically correct is a promary concern (g). Yes I agree that following the syntax as close as possible is wise. And yes sometimes I go crazy too trying to figure out where to find that stuff. Draw the line when it comes to how much time it will take! (s)
>>>>
>>>
>>>you can find all the constants in .H files that comes with C++
>>> pakages such as MSVC and Borland C++
>>>(usually a grep command on the .H yields the correct value)
>>>
>>>for some reason MS decided not to ship such/those files with VFP
>>
>>Arnon
>>
>>What is a grep command?
>>
>>Tom
>
> Tom, a grep command is a UNIX command which searches through one or more files and displays lines that match the query. It has a million uses and switches but its most functional application is similar to:
>
>grep "TheItemYouNeed" *.h | more
>
>Technically :-) grep is a command from a UNIX text editor g/re/p. The g stands for global the re stands for regular expression and the p stands for print.
>
>Now you know more about grep than you ever wanted to know :) :) :)

Joe

I think your showing your age! (s)

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform