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
https://deluxepixel.com
@SinisterSoft Strange, the macro one doesn't work for me at all.