Jump to content
Sign in to follow this  
code34

call compile createmarker

Recommended Posts

hello,

I have a problem with the call compile method

i try this, but it doesn't work

call compile format["%1 = createMarker [%1, %2];", _markername, _position];

can you help me, what is the correct syntax ?

Share this post


Link to post
Share on other sites

First problem I see is missing quotes around marker name. Try single quotes:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">call compile format["%1 = createMarker ['%1', %2];", _markername, _position];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×