New database blocks

by loucheman
See Code Download Embed
Improved database blocks v1.62 ! by loucheman
=====================================
(multi-users, multi-projects)

store key (in the browser)
=======
1) you can store numbers, text, boolean, list of text / number, costume or sound
                                                         =====================================
2) the value are saved for the current user and current project
    - example 1: if you have a game played by 2 different user (logged 
      user), the two players doesen't share the same variable "hi-score"
    - example 2 : if you have 2 games, the two games doesen't share the variable 
      "hi-score" 

remove key
=========
nothing special ... but only for the user:project:

( project data / user data / all data ) stored in browser
=========================================
1) you can visualize the data (variable name and value) from a project, 
    a user or all data stoded in the browser

clear ( project data / user data / all data ) in browser
========================================
1) you can clear the data from a project, a user or all data stodes in the browser 
2) ask are you sure ? before clearing the data...


When you run a block for the 1st time, it will ask for the project name. (store in the variable user:project:), so if you change the name of the project earlier, you don't lose your previous saved data...


Created October 25, 2021

Last updated May 30, 2023

Shared March 24, 2022