Difference between revisions of "LavishScript:Developing Commands"

From Lavish Software Wiki
Jump to navigation Jump to search
m
 
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

  1. Create the command handler
  2. Register the command with InnerSpace