dup

<=

duplicate the top of the stack and convert non-returning call to a do-return call


Parameters

dup value :any

Returns

  • :any

Examples

copy
; a label normally consumes its inputs ; and returns nothing ; using dup before a call, the non-returning function ; becomes a returning one a: b: <= 3 print a ; 3 print b ; 3

Related