Updated Program (markdown)
@@ -26,7 +26,7 @@ executes the given path (-program)
|
|||||||
````lua
|
````lua
|
||||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||||
local aProgram = mainFrame:addProgram("myFirstProgram"):show()
|
local aProgram = mainFrame:addProgram("myFirstProgram"):show()
|
||||||
aProgram:execute("rom/programs/fun/worm.lua") -- executes worm, have fuuuuuuuuuuuuuuun - only hard difficulty ok?
|
aProgram:execute("rom/programs/fun/worm.lua") -- executes worm, have fuuuuuuuuuuuuuuun
|
||||||
````
|
````
|
||||||
**args:** filepath - the path to the program you want to execute<br>
|
**args:** filepath - the path to the program you want to execute<br>
|
||||||
**returns:** the object<br>
|
**returns:** the object<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user