###Parsons: Journalism + Design ###Web Coding for Interactive Design October 14th, 2015
Interactive to inspire: Tanahashi, Y., UC Davis, StoryLines You can read their paper on the topic here.
| pragma solidity ^0.4.10; | |
| // Update: Just use HardHat's: https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/console.sol | |
| // Enables event logging of the format `console.log('descriptive string', variable)`, | |
| // without having to worry about the variable type (as long as an event has been declared for that type in the | |
| // Console contract. | |
| contract Console { | |
| event LogUint(string, uint); |
###Parsons: Journalism + Design ###Web Coding for Interactive Design October 14th, 2015
Interactive to inspire: Tanahashi, Y., UC Davis, StoryLines You can read their paper on the topic here.
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
| license: gpl-3.0 |