# Processing Version

**URL:** https://discourse.processing.org/t/processing-version/2120
**Category:** Coding Questions
**Created:** [July 27, 2018, 4:53am UTC](https://discourse.processing.org/t/processing-version/2120 "2018-07-27T04:53:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [July 27, 2018, 4:53am UTC](https://discourse.processing.org/t/processing-version/2120/1 "2018-07-27T04:53:40Z")

</div>

Hello,

Is it possible to catch the REVISION or VERSION\_NAME of Processing from a sketch ?  
I see this Static Final in the code Base of Processing but I find noway to catch from sketch, any idea about a possibility ?

Thx in advance.

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [July 27, 2018, 9:27am UTC](https://discourse.processing.org/t/processing-version/2120/2 "2018-07-27T09:27:58Z")

</div>

Processing’s devs deliberately didn’t provide any means for us to identify PApplet’s current version! 😠

---

<div class="post-metadata">

### Author: ![alexr4](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/alexr4/32/576_2.png) [@alexr4](https://discourse.processing.org/u/alexr4)
#### Post date: [July 27, 2018, 10:34am UTC](https://discourse.processing.org/t/processing-version/2120/3 "2018-07-27T10:34:55Z")

</div>

The first idea i have would be to load the revision.txt file and parse the first line but you will need to provide the path to the processing folder. Something like that :

```auto
String folder = "C:/Program Files/Processings/";

String[] txts;

void setup() {
  txts = loadStrings(folder+"revisions.txt");
  print(txts[0]);
}

```

This will print the first line of the revisions.txt files which is :  
_PROCESSING 3.4 (REV 0265) - 26 July 201_

---

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [July 27, 2018, 10:56am UTC](https://discourse.processing.org/t/processing-version/2120/4 "2018-07-27T10:56:20Z")

</div>

arg, it’s pity, that’s can be useful to add a method to catch that !!!

---

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [July 27, 2018, 10:59am UTC](https://discourse.processing.org/t/processing-version/2120/5 "2018-07-27T10:59:12Z")

</div>

Why not, that’s can be a way 🙂 But the problem in my case I use Processing-Java in Sublim Text. So I need to know the version of my export JAva-Processing. With your idea, I catch the version of the Processing IDE. I need to be sure of my export Java-Processing. I’m not sur to be clear… but I can translate in french if you want 🙂

---

<div class="post-metadata">

### Author: ![fry](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fry/32/43_2.png) [@fry](https://discourse.processing.org/u/fry)
#### Post date: [July 27, 2018, 10:41pm UTC](https://discourse.processing.org/t/processing-version/2120/6 "2018-07-27T22:41:56Z")

</div>

Regardless of GoToLoop’s weird insistence on saying negative things about the volunteers on this project at any given chance, the actual issue here is that there’s never been a worthwhile reason for implementing this feature.

It’d be easy to add, of course, but usually it has something to do with running multiple versions of the software, but that’s not something we can encourage. Our development team is tiny, and we can only (barely) support the most recent release.

---

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [July 28, 2018, 12:22pm UTC](https://discourse.processing.org/t/processing-version/2120/7 "2018-07-28T12:22:46Z")

</div>

mmmhhh I don’t understand exactly what you mean “that’s not something we can encourage” in regard with “It’d be easy to add” and with “support the most recent release” the method version() can be just return the version of the current release not less, not more…  
And about the tiny volunterr team, I agree with that, it’s hard and I hope one day to be stronger in pure Java dev to help deeply the project Processing.
