Quick Links:
Download Gideros Studio
|
Gideros Documentation
|
Gideros Development Center
|
Gideros community chat
|
DONATE
Using function from variable — Gideros Forum
Home
Discussions
Sign In
Home
›
General questions
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
7.8K
All Categories
11
Help with translations
4.2K
General questions
106
Roadmap
358
Game & application design
315
Plugins
70
User experience
74
Marketplace
290
Code snippets
34
Building a team?
269
Suggestions & requests
352
Announce your apps made with Gideros.
90
Step by step tutorials
659
Bugs and issues
195
Introduce yourself
236
Announcements
105
Forum talk
403
Relax cafe
In this Discussion
December 2021
keszegh
Top Posters
ar2rsawseen
6991
SinisterSoft
4058
hgy29
3560
keszegh
3169
atilim
2892
antix
2136
OZApps
1983
MoKaLux
1897
totebo
1778
oleg
1706
hgvyas123
1412
techdojo
1321
gorkem
1186
pie
1159
phongtt
1029
rrraptor
1027
Mells
1024
MikeHart
1020
john26
995
GregBUG
962
Using function from variable
big_bruhh0
Member
December 2021
in
General questions
Hi guys, how can i put function to varibale for using this function later?
like
if a then var=function1
if b then var=function2
if c then var=function3
and then i want to do something like :
var()
to use one of these functions.
+1
-1
Share on Facebook
Comments
keszegh
Member
December 2021
edited December 2021
i think it works exactly like you wrote. (don't forget 'end' after 'if')
Longtitle Productions
, creator of
Fragmenter - animated loop machine
and
IKONOMIKON - the memory game
+1
-1
Share on Facebook
Sign In
or
Register
to comment.
Powered by Vanilla
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game