home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr
- »cy«COMMAND NAME»gray«: »%t« AssignVar »ye«
-
- /SET {variable} {value}
- /cw
- The »%t«AssignVar»#« command sets the text variable indicated by
- »cy«{variable}»#« to »cy«{value}»#«. Any variables found in »cy«{value}»#« are
- expanded. If »cy«{value}»#« contains the parse paremeter(s),
- it must be enclosed in double quote marks (»cy«""»#«).
- .pg clr
- In the following example, press »bo«<enter>»#« to execute the
- displayed lines.
-
- We'll use the »%t«/SET»#« command to place information in text
- variable Var1. First, here's the command:
-
- |/SET Var1 "This is in variable 1."
-
- Next we'll display it using this line:
-
- | Variable 1 contains: "%Var1"
- /ENDEXEC