Difference between revisions of "LavishScript:Developing Commands"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
+ | |||
+ | LavishScript commands are much like DOS command line programs. When a user or script executes the command the arguments are passed to the handler via the familiar argc and argv variables. The name of the command is passed as argv[0]. | ||
= Basics = | = Basics = | ||
− | + | # Create the command handler | |
+ | # Register the command with InnerSpace | ||
{{stub}} | {{stub}} |
Latest revision as of 00:44, 4 March 2008
Introduction
LavishScript commands are much like DOS command line programs. When a user or script executes the command the arguments are passed to the handler via the familiar argc and argv variables. The name of the command is passed as argv[0].
Basics
- Create the command handler
- Register the command with InnerSpace