base:MakeEnvarc()

You can post your code snippets here for others to use and learn from
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

base:MakeEnvarc()

Post by djrikki » Wed Apr 15, 2015 10:47 pm

Create application drawers in both ENVARC: and ENV: drawers if drawers are missing.

Code: Select all

Global application
application = {}
application.name = "Your App"

Global base
base = {}

;; base:MakeEnvarc()
Function base:MakeEnvarc()
    If Exists("ENVARC:" .. application.name) = False
		MakeDirectory("ENVARC:" .. application.name)
		MakeDirectory("ENV:" .. application.name)
    EndIf
EndFunction
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

Post Reply