Preparations
Getting a Code Editor

Photon Mint programs are files that end with the extension .mint, and inside there will be Photon Mint code written as plain text. Before you begin programming with Mint, you need an editor for these files. You could use something a simple as Windows Notepad to open up those .mint files, but we're going to try to do one better. If you are using Windows, go to notepad-plus-plus.org and download Notepad++. After installing and running it, go to View > User Defined Dialogue. Inside the User Defined Dialogue, click on Import... and import the file Mint.xml which should have been included in your Mint download. Now you can select Mint from the Notepad++ Language menu and have syntax highlighting for Mint in your code. Important: In the latest version of Notepad++, you may need to go to Language > Define Your Language... instead. Remember to click on the Import... button and import Mint.xml for Photon Mint. If the Import... button does not work, or you cannot find it, do the following: Download a portable version of Notepad++. In the Notepad++ folder, delete the file userDefineLang.xml Put Mint.xml into the Notepad++ main folder. Rename Mint.xml to userDefineLang.xml A portable app is an application that you can safely delete without needing to use an uninstaller. There are two useful ways to learn Mint. You may click on the words "First Program" below to continue this HTML tutorial. Or, you may watch a video tutorial on YouTube about the Photon Mint language. The video tutorial does have audio commentary: Mint Tutorial - Introduction to Programming (YouTube) In the video series, here is the first video: Navigation Previous Lesson: Introduction Next Lesson: First Program Table of Contents