Goto main content

clearctx

Clears a context variable entirely

CLEARCTX

NAME

clearctx - Clears everything in a context.

SYNOPSIS

clearctx (context, context…); 

DESCRIPTION

This function is used to clear everything in contexts. It can accept as many as context variables.

PARAMETERS

ctx
Specifies the context

RETURN

Nothing.

EXAMPLES

a={“x”:1,“y”:2};

b={“x”:1,“q”:2};

clearctx(a,b);

a;  return {}

b; ​return {}

SEE ALSO

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2021 extenso Inc. All rights reserved.