Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | tasking |
A paste into the Glish CLI can be performed using the paste function. Similarly a copy from the Glish CLI can be done using the copy. For example, to multiply the value in the clipboard by the , do:
include 'clipboard.g' a: = dcb.paste() a *:= sqrt(2.0) dcb.copy(a);
This clipboard can only contain one value at a time, so you must copy and then paste one value at a time. Note that any glish variable can be placed in the clipboard. In the future, we may develop multiple entry clipboards if these are thought to be useful.