Date: Thu, 28 Mar 2024 16:45:14 -0700 (PDT) Message-ID: <1524174069.351.1711669514021@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_350_1343864191.1711669514020" ------=_Part_350_1343864191.1711669514020 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Inserts a value at the top of an SRP Stack.
Syntax
SRP_Stack("Push", = Handle, Element)
Parameter | Description |
---|---|
Handle | Handle to an existing SRP Stack (RE= QUIRED) |
Element | The new value to add to the top of the stack |
The Push service places a value at the top of the stack.
// Create the stac= k Handle =3D SRP_Stack("Create") // Push elements SRP_Stack("Push", Handle, "ABC") SRP_Stack("Push", Handle, "DEF") SRP_Stack("Push", Handle, "EFG") // Play nice with memory SRP_Stack("Release", Handle)