Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Macro Question — Gideros Forum

Macro Question

antixantix Member
edited July 2020 in Bugs and issues
Are macros working as expected?

The following code opens my URL
MORE_GAMES_URL = '<a href="https://www.google.com'" rel="nofollow">https://www.google.com'</a>
application:openUrl(MORE_GAMES_URL)
The following code results in "bad argument #1 to 'openUrl' (string expected, got nil)"
MORE_GAMES_URL @ '<a href="https://www.google.com'" rel="nofollow">https://www.google.com'</a>
application:openUrl(MORE_GAMES_URL)
The docs (http://docs.giderosmobile.com/reference/enhancement/macroconstants) indicate that the string should work, but it does not seem to do so.

for now I'll stick with the normal = method over the @ method :)

NOTE: The forum ate my URL strings :(

Comments

Sign In or Register to comment.