---
title: "Google Apps Script Basics – Variables and getting &#038; setting values"
author: "Martin Hawksey"
date: 2021-09-03T21:16:30+00:00
modified: 2021-09-03T21:19:34+00:00
canonical_url: https://pulse.appsscript.info/p/2021/09/google-apps-script-basics-variables-and-getting-setting-values/
markdown_url: https://pulse.appsscript.info/p/2021/09/google-apps-script-basics-variables-and-getting-setting-values.md
categories:
  - "Beginner"
  - "Snippet"
  - "V8"
tags:
  - "@barrielroberts"
  - "bazroberts.com"
featured_image: https://pulse.appsscript.info/files/2021/09/GAS1-2-Variables3-1.png
description: "We offer a wide range of community contributions here on AppsScriptPulse. This one might be useful if you are just learning to code and want to understand some of the fundamentals or if you've been using Apps Script for a while learn about variable types available in the V8 runtime. "
---

# Google Apps Script Basics – Variables and getting &#038; setting values

![Google Apps Script Basics – Variables and getting &#038; setting values](https://pulse.appsscript.info/files/2021/09/GAS1-2-Variables3-1.png)

> Image: Baz Roberts
> In this post, we’re going look at how variables are set up and how they can store various pieces of information. We’re also going to look at reading and writing data from a spreadsheet, which is one of the most common tasks when working with one.

We offer a wide range of community contributions here on AppsScriptPulse. This one might be useful if you are just learning to code and want to understand some of the fundamentals or if you’ve been using Apps Script for a while learn about variable types available in the V8 runtime.

Source: [Apps Script Basics – Variables and getting & setting values**](https://www.bazroberts.com/2017/03/31/apps-script-basics-variables-and-getting-setting-values/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2021/09/google-apps-script-basics-variables-and-getting-setting-values/](https://pulse.appsscript.info/p/2021/09/google-apps-script-basics-variables-and-getting-setting-values/)*
