|
Introduction
Testimonials!!
What's New
University
Promotions
Quick Features
Using Prism
Language Definition
Automation
Templates
Wordlists
Printing Reference
Command Reference
Variable Reference
ShortCut Keys
Mouse Actions
Download Evaluation
Ordering/Registration
Release Notes
License
Download Language
Submit Lanugage
Feedback
Contact
|
Prism
Editor Variables
These variables provide very basic functions for gathering
input from the user. They can be used for both Macros and Templates.
Common Variables
| Name |
Description |
| $Prism |
The Prism Editor Application
path. This can be used when defining help files for a language. |
| $Date |
Current
Date |
| $Clip |
This
is the text contained in the clipboard |
| $Word |
This
is the current word |
File Variables
| Name |
Description |
| $Name |
This is the current file
name e.g. c:\counter\design\hdl\counter.vhd |
| $Title |
Current
file name (minus path) e.g. counter.vhd |
| $Stem |
This
is the current file stem (without the extension) e.g. counter |
| $Path |
The
Current path e.g. c:\counter\design\hdl |
IO Variables
| Name |
Description |
| $Input |
A user input field. Every
time $Input is called, the result the user types is stored in a variable
$Output. A variable counter provides a mechanism to call multiple inputs.
Up to 100 $Inputs can be called before a $Output is used. |
| $Output |
A
user output field e.g.
$Input(Name) : Stores whatever
the user types in $Output0
$Input(Revision) : Stores
whatever the user types in $Output1
$Input(Commants) : Stores
whatever the user types in $Output2 |
|