home *** CD-ROM | disk | FTP | other *** search
- ;SAPIEN Snippet File
- ;Any line with a semi-colon in the first character position is ignored
- ;$CARET places the caret at that position
- ;$SELECTION places the selected text into that position
- ;$STARTSEL sets the beginning position for selected text
- ;$ENDSEL sets the ending position for selected text
- ;the caret is always moved to the end of the selected text
- ;any call to $CARET prior to $STARTSEL/$ENDSEL will be ignored
- ;any call to $CARET after $STARTSEL/$ENDSEL will result in no selection
- ;
- switch ($STARTSEL <expression> $ENDSEL)
- {
- case <label1>:
- <statementlist>
- case <label2>:
- <statementlist>
- default:
- <statementlist>
- }
-