Prove CSTORE

2023-06-12に共有

A fully working and useful example of this method can be found HERE:

https://www.lexaloffle.com/bbs/?tid=31950

What follows is an exploration into CSTORE and, as of this thread, does not reveal any code that can be implemented for immediate and accurate use.


(09-27-18) TODAY I'll be working on proving it works with more than one cart.

Right. Well after fighting with CSTORE() and RELOAD() for exporting to BIN (Windows EXE), I have some very good news indeed.

It can be done, and this includes saving 8192-bytes of Online data.

When you are ready to create your EXE or export to HTML, use NO NAME at all when you make use of CSTORE and RELOAD, thus:

cstore(0,24576,8192)

and

reload(24576,0,8192)

If you'll look inside:

You will see that a p8 file is auto-created with a rather busy name:

This then is the CSTORE data that you've saved, and it can be reloaded again, just make certain NOT to use a name even though by default that is what you would do with CSTORE and RELOAD.

Reload the webpage to test it.
Checked and works correctly in Firefox, Opera, and Google Chrome.

Hope This Helps !