ws = new('netWorkSpace', 'nws example')
nwsDeclare(ws, 'pi', 'single')
nwsStore(ws, 'pi', 2.171828182)
nwsStore(ws, 'pi', 3.141592654)
# nwsListVars(ws) will show that only the most recent value of pi is retainedRun the code above in your browser using DataLab