# Made me smile

**URL:** <https://forum.xojo.com/t/made-me-smile/57980>\
**Category:** General\
**Created:** [October 16, 2020, 11:40am UTC](https://forum.xojo.com/t/made-me-smile/57980 "2020-10-16T11:40:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Ward](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@Andy\_Ward](https://forum.xojo.com/u/Andy_Ward)\
**Post date:** [October 16, 2020, 11:40am UTC](https://forum.xojo.com/t/made-me-smile/57980/1 "2020-10-16T11:40:01Z")

</div>

I haven’t used Xojo for a few years due to a career change. I’ve started using it again recently for a new post and found it’s a lot like riding a bike. There are a few subtle differences, I can use var instead of dim etc, but otherwise, I’ve picked it up very quickly.

What really made me smile was when it crashed a yesterday. I’d written code for about half an hour and an errant key stroke while trying to add properties to a module caused a hard crash. Obviously this didn’t make me smile - my heart sank as I thought I was about to loose 30 mins of coding. However, a dialog popped up, notifying me of the crash and gave me the opportunity to save my work! So I did and I lost nothing.

In a beast as complicated as Xojo, I’m not surprised by the odd crash, after all, I even experience them in Xcode… To loose no work and after a 30 second delay have my project open and running again really did make me smile and really rather happy that I’d chosen Xojo as my dev environment.

Thanks guys.

---

<div class="post-metadata">

**Author:** ![Justin\_Christie](https://forum.xojo.com/user_avatar/forum.xojo.com/justin_christie/32/1901_2.png) [@Justin\_Christie](https://forum.xojo.com/u/Justin_Christie)\
**Post date:** [October 16, 2020, 12:51pm UTC](https://forum.xojo.com/t/made-me-smile/57980/2 "2020-10-16T12:51:25Z")

</div>

The last time I used Xojo was when it was REALbasic, I believe version 3.5. I recently over the past couple of weeks have been playing around with it again and it is indeed just like riding a bike - even after nearly 15 years I was able to quickly jump right back into the basis and get going again.

Looking forward to developing a macOS application again and seeing what else comes to mind especially on the web app front.

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [October 16, 2020, 1:11pm UTC](https://forum.xojo.com/t/made-me-smile/57980/3 "2020-10-16T13:11:07Z")

</div>

Welcome back @Andy_Ward and @Justin_Christie!

---

<div class="post-metadata">

**Author:** ![David\_Cox](https://forum.xojo.com/user_avatar/forum.xojo.com/david_cox/32/227_2.png) [@David\_Cox](https://forum.xojo.com/u/David_Cox)\
**Post date:** [October 16, 2020, 1:43pm UTC](https://forum.xojo.com/t/made-me-smile/57980/4 "2020-10-16T13:43:24Z")

</div>

May I suggest adding a Build Stage Script with the following — it will save your work on each Run or Build:  
`DoCommand("SaveFile")`  
I add it to all my projects

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [October 16, 2020, 2:15pm UTC](https://forum.xojo.com/t/made-me-smile/57980/5 "2020-10-16T14:15:49Z")

</div>

> [@David\_Cox](#):
>
> it will save your work on each Run or Build:

Yikes…  
Personally speaking I like to make a change and run it in debug before deciding whether to Save permanently.

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [October 16, 2020, 2:18pm UTC](https://forum.xojo.com/t/made-me-smile/57980/6 "2020-10-16T14:18:00Z")

</div>

I use this build script also and rely on repo for rolling back if I hit something I don’t like that I can’t just CMD+Z out of. Has saved me innumerable times in the past.

---

<div class="post-metadata">

**Author:** ![Kem\_Tekinay](https://forum.xojo.com/user_avatar/forum.xojo.com/kem_tekinay/32/154_2.png) [@Kem\_Tekinay](https://forum.xojo.com/u/Kem_Tekinay)\
**Post date:** [October 16, 2020, 2:32pm UTC](https://forum.xojo.com/t/made-me-smile/57980/7 "2020-10-16T14:32:16Z")

</div>

I’m so used to hitting cmd-S on every pause that I wouldn’t need this, but I can see how it would help.

And anyone creating a complex app without the benefit of a version control system, like git, is punishing themselves.

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [October 16, 2020, 2:34pm UTC](https://forum.xojo.com/t/made-me-smile/57980/8 "2020-10-16T14:34:31Z")

</div>

Agreed. Even with the build script I sometimes catch myself hitting CMD+S, then CMD+R (which saves again). lol

---

<div class="post-metadata">

**Author:** ![Andy\_Ward](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@Andy\_Ward](https://forum.xojo.com/u/Andy_Ward)\
**Post date:** [October 16, 2020, 2:47pm UTC](https://forum.xojo.com/t/made-me-smile/57980/9 "2020-10-16T14:47:09Z")

</div>

Just to be clear folks - I wasn’t trying to execute the code, I was adding properties to the application.

I like the script idea - thank you, I will implement that.

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [October 16, 2020, 2:52pm UTC](https://forum.xojo.com/t/made-me-smile/57980/10 "2020-10-16T14:52:56Z")

</div>

Right, but if you don’t practice periodic saving as you work, you likely do hit Run every once in a while to check for issues in the code you’ve written. In those cases, if Xojo doesn’t have your back with allowing to save at crash, you’re not set back quite so far.

---

<div class="post-metadata">

**Author:** ![Andy\_Ward](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@Andy\_Ward](https://forum.xojo.com/u/Andy_Ward)\
**Post date:** [October 16, 2020, 2:53pm UTC](https://forum.xojo.com/t/made-me-smile/57980/11 "2020-10-16T14:53:57Z")

</div>

Completely agree. I normally save prior to running.

---

<div class="post-metadata">

**Author:** ![Joseph\_Claeys](https://forum.xojo.com/user_avatar/forum.xojo.com/joseph_claeys/32/1104_2.png) [@Joseph\_Claeys](https://forum.xojo.com/u/Joseph_Claeys)\
**Post date:** [October 16, 2020, 4:41pm UTC](https://forum.xojo.com/t/made-me-smile/57980/12 "2020-10-16T16:41:30Z")

</div>

> [@Kem\_Tekinay](#):
>
> And anyone creating a complex app without the benefit of a version control system, like git, is punishing themselves.

An account with GitHub is free even for private repositories. Dead simple to use with GitHub Desktop.

---

<div class="post-metadata">

**Author:** ![Justin\_Christie](https://forum.xojo.com/user_avatar/forum.xojo.com/justin_christie/32/1901_2.png) [@Justin\_Christie](https://forum.xojo.com/u/Justin_Christie)\
**Post date:** [October 16, 2020, 5:13pm UTC](https://forum.xojo.com/t/made-me-smile/57980/13 "2020-10-16T17:13:44Z")

</div>

But if you’re using certain editions of Xojo it only saves in a binary file format, so you’d need to do some manual work to create different branches to save to before any big change (which then still isn’t real version control)

---

<div class="post-metadata">

**Author:** ![Kem\_Tekinay](https://forum.xojo.com/user_avatar/forum.xojo.com/kem_tekinay/32/154_2.png) [@Kem\_Tekinay](https://forum.xojo.com/u/Kem_Tekinay)\
**Post date:** [October 16, 2020, 5:13pm UTC](https://forum.xojo.com/t/made-me-smile/57980/14 "2020-10-16T17:13:45Z")

</div>

And you don’t even need an online account. For a single developer, using git locally still has huge benefits.

---

<div class="post-metadata">

**Author:** ![Mike\_Cotrone](https://forum.xojo.com/user_avatar/forum.xojo.com/mike_cotrone/32/19940_2.png) [@Mike\_Cotrone](https://forum.xojo.com/u/Mike_Cotrone)\
**Post date:** [October 17, 2020, 12:24am UTC](https://forum.xojo.com/t/made-me-smile/57980/15 "2020-10-17T00:24:58Z")

</div>

I literally wore out my s key on my last MacBook Pro. Apparently I’m more gentle on the command key vs the s 🙂

Also to @Kem_Tekinay last point about Git here is a good thread we had running on the topic. [GIT for One?](https://forum.xojo.com/t/git-for-one/53852)

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [October 17, 2020, 6:11am UTC](https://forum.xojo.com/t/made-me-smile/57980/16 "2020-10-17T06:11:32Z")

</div>

> [@Kem\_Tekinay](#):
>
> , like git,

True! But you need a pro license for that.

---

<div class="post-metadata">

**Author:** ![Sascha\_S](https://forum.xojo.com/user_avatar/forum.xojo.com/sascha_s/32/22328_2.png) [@Sascha\_S](https://forum.xojo.com/u/Sascha_S)\
**Post date:** [October 17, 2020, 6:25am UTC](https://forum.xojo.com/t/made-me-smile/57980/17 "2020-10-17T06:25:50Z")

</div>

> [@ChristopheDV](#):
>
> True! But you need a pro license for that.

No, that is not longer true.

> **[Pricing · Plans for every developer](https://github.com/pricing)**
>
> Whether you're starting an open source project or choosing new tools for your team, we’ve got you covered.

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [October 17, 2020, 8:53am UTC](https://forum.xojo.com/t/made-me-smile/57980/18 "2020-10-17T08:53:55Z")

</div>

You need a Xojo Pro license to have the ability to save as text. GIT cannot work with binary files (if I am not mistaken)

---

<div class="post-metadata">

**Author:** ![Sascha\_S](https://forum.xojo.com/user_avatar/forum.xojo.com/sascha_s/32/22328_2.png) [@Sascha\_S](https://forum.xojo.com/u/Sascha_S)\
**Post date:** [October 17, 2020, 9:16am UTC](https://forum.xojo.com/t/made-me-smile/57980/19 "2020-10-17T09:16:24Z")

</div>

> [@ChristopheDV](#):
>
> You need a Xojo Pro license to have the ability to save as text. GIT cannot work with binary files (if I am not mistaken)

You can put Binary Data into a Git Repo, but it makes no sense i’d say.

> [@ChristopheDV](#):
>
> True! But you need a pro license for that.

Sorry, yes you are correct. You need a Xojo Pro License to be able to save Xojo Projects as Text. (A bad restriction in my opinion…). I thought you meant you need a Git Pro Lic. to be able to use Private Git Repos. 🙂

---

<div class="post-metadata">

**Author:** ![Piotr\_Jaskulski](https://forum.xojo.com/user_avatar/forum.xojo.com/piotr_jaskulski/32/1554_2.png) [@Piotr\_Jaskulski](https://forum.xojo.com/u/Piotr_Jaskulski)\
**Post date:** [October 17, 2020, 10:04am UTC](https://forum.xojo.com/t/made-me-smile/57980/20 "2020-10-17T10:04:42Z")

</div>

> You need a Xojo Pro License to be able to save Xojo Projects as Text.

According to this: [https://www.xojo.com/assets/img/storecomparison.png](https://www.xojo.com/assets/img/storecomparison.png) Desktop license is enough, only Lite one has binary format without the possibility to easy cooperate with a version control system.

If this is not a current situation (on the picture), it will be a really bad restriction. I don’t personally see many advantages in Pro license - as I am not currently interested in web and ios, not enough to spend the extra $400…

[Next page](https://forum.xojo.com/t/made-me-smile/57980.md?page=2)
