You can store short code snippets and reuse them in scripts.
Code snippets enable you to store and reuse pieces of code in multiple scripts or files. Snippets are similar to clips in the PowerBuilder Classic environment.
PowerBuilder .NET provides a library of PowerBuilder-specific snippets. These are available with the Insert Snippet and Surround Snippet functions when you are editing code in PowerScript.
For information about adding, using, and managing IntelliSense code snippets, refer to the Visual Studio help.