View Single Post
Old 08-25-2005, 06:08 PM   #1 (permalink)
smckittr
Scott
 
Join Date: Aug 2005
Posts: 29
smckittr is on a distinguished road
big command line programs...

..such as ms dos command promt or unix, etc.
How do they figure out what to do with the command you gave them? for example if you type in exit how does it know to exit. Do they use a giant switch statement or some other method?
Just curious
Thanks
Scott
smckittr is offline   Reply With Quote