# Logic error - can i get some input please?

**URL:** <https://discourse.nodered.org/t/logic-error-can-i-get-some-input-please/3028>\
**Category:** General\
**Created:** [11 September 2018 03:37 UTC](https://discourse.nodered.org/t/logic-error-can-i-get-some-input-please/3028 "2018-09-11T03:37:40Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [12 September 2018 02:05 UTC](https://discourse.nodered.org/t/logic-error-can-i-get-some-input-please/3028/15 "2018-09-12T02:05:02Z")

</div>

> [@craigcurtin](#):
>
> how do i switch between the two types of storage (memory) and Filesystem - obviously as you say now the default is filesystem and i can see the files being created - there must be a programmatic way to switch to memory if i do not want the filesystem overhead for some variables ??

When using a node like the change node you can select the storage option with the icon on the right side.

![r-01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b09e6efd5623a1cf62bb8462a2c010164b68e2d5.png)

When using JavaScript statement inside a function node then you follow the explanation given in this link (multiple context stores):

[https://nodered.org/docs/writing-functions#storing-data](https://nodered.org/docs/writing-functions#storing-data)

---

_[View the full topic](https://discourse.nodered.org/t/logic-error-can-i-get-some-input-please/3028)._
