Message 1 of 3
GUI Button - function to stop executing the remaining script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
To jump out of LOOP you enter EXIT eg.
I am not sure how to jump out of a GUI Button Function eg.
or
(
local a = true
for x = 1 to 1 do (
if (a == true) then exit
)
)
I am not sure how to jump out of a GUI Button Function eg.
(
local a = true
function my_function = (
if (a == true) then exitfunction ???
)
)
or
(
local a = true
on my_button pressed do (
if (a == true) then exitmy_button ???
)
)