devxlogo

May 31, 2000

Calculating the Absolute Value of a Number

The standard functions abs() and labs() (declared in ) return the absolute value of int and long, respectively. You can use these functions in computations that need absolute values. For

How to Reduce Compilation Time

Most compilers nowadays have several options that reduce compilation time considerably. These options include incremental build, precompiled header files, and cached header files. By default, these options are turned off.

Report in a Separate Window

Question: In a FoxPro 6.0 application, I want to be able to push a button anddisplay a report on the screen. This report should be displayed in a new window,

VFP Form Management

Question: How do I call a form from another form using a command button? Answer: You can put code into the Click event of the command button that executes a

Exe Pops Up and Closes Immediately

Question: I have written a simple application with one form. I compiled the project as an .exe. My exe works fine if I am inside VFP, but when I make

Calculating the Maximum of Three Values

The max() macro or template takes two values and returns the highest. What if you need to calculate the maximum of three values? You don’t need to write a special