Develop > Programming Guide > System Language reference > List: RAD functions > RAD function: sysinfo.get("PrevLabel")

RAD function: sysinfo.get("PrevLabel")

A RAD function that returns the label name of the last RAD panel executed, thus helping determine where errors occur. A RAD program may also require the label of the last RAD panel that was executed.

Function

sysinfo.get("PrevLabel")

Format

$info=sysinfo.get("PrevLabel")

Example

$L.lastlabel = sysinfo.get("prevlabel")

The panel name is the last panel executed in the RAD program called. At the start panel for any application, the name is the calling panel name from the parent application.