popCurrent() and putCurrent()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 01:31 AM
Can anyone help me understand what is the definition and usage of popCurrent(), putCurrent() functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 01:52 AM
Hello Dinesh.
This doe snot seem documented.
However here:
@gurpreet provided an input on this
and here
Application scope issue with putCurrent() and popCurrent()
also coryseering provided a valuable input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 01:58 AM
popCurrent() and putCurrent() are part of GlideRecord:
putCurrent() - puts a GlideRecord as the current global object
popCurrent() - removes the last occupant of the current global variable
Note: Each call to putCurrent should be followed by a popCurrent.