Command line syntax will be like this:
Executable.exe height width length area
Complied script will be like this:
Code: Select all
Let>height=parameter1
Let>width=parameter2
Let>length=parameter3
Let>area=parameter5
/*
Error checking:
Check that all 4 values exist else error message
Check that all values are numbers vs. text
Check that all are integers else use Int or Round?
Do calculation stuff with height, width, length, area
Send Messages with different content based on results of calculations
*/
I don't know how to set up the first four lines to pick up the paramaters from the command line.
The compiled file name will be MakePlans.exe
The command line will be something like this:
MakePlans.exe 15 15 18 1800