Argument count
eharetea

Get the number of arguments passed into a script.

Hscript count arguments.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Friday August 01st, 2008 01:57 PM

//USING IF WITH ARGUMENT COUNT

if $argc == 2
    set OPP= $SOP/geo/rayed
else if $argc == 1
    set OPP= $SOP/geo/merged
endif