scrapcalc
FORMULA

The scrapcalc statement calculates a formula and stores the result in the clipboard. (Note: The same effect can be achieved by putting the word clipboard on the left side of an assignment.)


Parameters

This statement has one parameter:

formula – calculates the value that will be placed into the clipboard.


Description

The scrapcalc statement allows you to use the clipboard to communicate with other programs. This example copies the name and address onto the clipboard in mailing label format. The user could then paste the address into a letter or other word processing document.

scrapcalc Name+cr()+Address+cr()+City+", "+State+" "+Zip

The same effect can be achieved by putting the word clipboard on the left side of an assign statement. Here is the same procedure rewritten using an assignment instead of using the scrapcalc statement.

clipboard=Name+cr()+Address+cr()+City+", "+State+" "+Zip

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0