Tuesday, June 16, 2009

Surface Subgrade Creator – Step 4

In this post I’ll do the fourth step of prompting the user for the subgrade depth. This depth will be used later on to lower the subgrade surface a set amount. Since the user may want to lower the surface an amount that isn’t a whole integer, I’m going to use GetDouble. Since I want a subgrade surface different than the finish grade surface I won’t allow a zero value or no value. The code to prompt the user is below.


I used ft or m in the prompt to let the code work for either a metric or English units.

No comments:


Blog Widget by LinkWithin