![]() |
Powered by QM on a Rpi server |
|
KnowledgeBase 00049: Named CommonThis article was originally published as a Tip of the Week. Named common blocks are a standard feature of the Basic language on multivalue systems. QM adds two related commands that can be very useful in a development environment. LIST.COMMONThe LIST.COMMON command displays a list of all named common blocks currently defined within the QM session in which it is executed. :LIST.COMMON SYS.FILES SCREEN.DATA DELETE.COMMONBecause named common blocks are defined to persist until the user logs out, they can cause difficulties in a development environment if, for example, an additional data item is to be included in the common block. On most systems, the developer must logout and then back in again to discard the old version of the named common block. QM includes a DELETE.COMMON statement to delete either a specific named common or all such blocks. DELETE.COMMON name DELETE.COMMON ALLA named common cannot be deleted while a program is actively using it. This is only likely to occur if the DELETE.COMMON command is invoked from command processor level started from an EXECUTE operation. Related ArticlesNone. |