Loading

CPOPR


stack
Since v2.0.0
Available on all platforms
See also

Pops a value from the top of the stack and stores it into the designated register if the register is empty (i.e. has NULL as its current value).

The CPOPR function is really a family of functions named CPOPRx where x is a register number. The default registers supported by Warp 10™ are numbered 0 to 255.

Signature

Examples

"Hello" CPOPR4 // Pop "Hello" from the stack, stores it in register #4 if it is empty. "World!" CPOPR4 // Pop "World!" from the stack, doesn't store it because register #4 is not empty. // PUSHR4 // Uncomment to push back the value of register #4.