------------------------------------- CORRECT EXAMPLE Create and fill a table crea tabella --> (NOME: dati) riempi tabella --> (NOME: dati) (COLONNA 1: "1|2|3|4|5") (COLONNA 2: "10|20|30|40|50") ------------------------------------- CORRECT EXAMPLE Modify a table cell crea tabella --> (NOME: tabella) modifica tabella --> (NOME: tabella) (RIGA: 1) (COLONNA: 1) (NUOVO VALORE: 10) modifica tabella --> (NOME: tabella) (RIGA: 1) (COLONNA: 2) (NUOVO VALORE: 20) ------------------------------------- CORRECT EXAMPLE Read values from a table INIZIA crea tabella --> (NOME: numeri) modifica tabella --> (NOME: numeri) (RIGA: 1) (COLONNA: 1) (NUOVO VALORE: 5) modifica tabella --> (NOME: numeri) (RIGA: 1) (COLONNA: 2) (NUOVO VALORE: 7) a = ottieni dato da tabella --> (NOME: numeri) (RIGA: 1) (COLONNA: 1) b = ottieni dato da tabella --> (NOME: numeri) (RIGA: 1) (COLONNA: 2) somma = a + b CICLO CONTINUO disegna testo --> (TESTO: "") (X: 200) (Y: 200) ------------------------------------- CORRECT EXAMPLE Fill table using iteration INIZIA crea tabella --> (NOME: tabellina) CICLO CONTINUO ripeti per 10 volte { modifica tabella --> (NOME: tabellina) (RIGA: ripetizione) (COLONNA: 1) (NUOVO VALORE: ripetizione*5) } ------------------------------------- CORRECT EXAMPLE Read table inside iteration INIZIA crea tabella --> (NOME: valori) CICLO CONTINUO ripeti per 5 volte { valore = ottieni dato da tabella --> (NOME: valori) (RIGA: ripetizione) (COLONNA: 1) disegna testo --> (TESTO: "") (X: 100) (Y: 50*ripetizione) } ------------------------------------- CORRECT EXAMPLE Import and export table crea tabella --> (NOME: dati) importa_tabella --> (NOME: dati) (PERCORSO: "tabella.csv") esporta tabella --> (NOME: dati) ------------------------------------- CORRECT EXAMPLE Destroy table when no longer needed crea tabella --> (NOME: temporanea) distruggi tabella --> (NOME: temporanea) -------------------------------------