$Screen attr

From m204wiki
Revision as of 17:41, 30 May 2017 by Alex (talk | contribs) (Created page with "<span class="pageSubtitle">Get screen attributes as blank-delimited string</span> This function returns the attributes of a screen item as a blank-delimited string. It can be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get screen attributes as blank-delimited string

This function returns the attributes of a screen item as a blank-delimited string. It can be useful for passing the attributes of a screen to another application, perhaps running on a different platform.

Syntax

%string = $Screen_atta(scr_item)

Syntax terms

%string This string value contains a blak-separated list of attributes for the requested screen item.
scr_item The screen item for which attributes are to be returned. This can be a variable of the form %screen:item or a screen item name variable of the form :%string.

Examples

  1. This code fragment displays the attributes of screen item bar in screen foo:

    print $screen_attr(%foo:bar)