Click here to Skip to main content
15,886,640 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created a small programme with JavaScript, which creates some specific data.
This data need to be stored. Additional data would be created which needs to be checked with the earlier data for duplicates. Then the new data needs to be added to the previously stored data. May be later on I don't need certain portions of the data saved, which I should be able to delete.

I would like to use notepad for data storage for the moment.

This programme is concerning music and so I could have a million digits or so.
Posted
Comments
Sergey Alexandrovich Kryukov 22-Oct-15 2:31am    
Are you talking about JavaScript embedded in browsers? Then it makes no sense at all. Notepad is just a Windows application. (And JavaScript is multiplatform.) It can be used to write code, but it cannot interact with JavaScript. Again JavaScript is multiplatform; and it is strictly isolated from the client OS.

And if the question is about WSH (which i doubt), it also makes no sense. You could rather use file I/O.

Anyway, Notepad has nothing to do with... pretty much, nothing.

—SA
Philippe Mori 22-Oct-15 13:07pm    
As already point out, this make no sense...

1 solution

Please see my comment to the question. It really makes no sense. In case of browsers' JavaScript: for storing data withing the session or between session locally, you can use Web storage. Please see:
http://en.wikipedia.org/wiki/Web_storage[^],
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900