trufun101 Posted February 9 Share Posted February 9 Is there a way to print an integer value to the screen in Raptor using c? I see the jsfPrintInt method in the documentation (and there's a Basic example), but this method doesn't appear to exist in c. Does anyone have a working example or code snippet? Thanks! Quote Link to comment Share on other sites More sharing options...
Clint Thompson Posted February 9 Share Posted February 9 Try digging into the build folder of print example under the basic project folders. From there, you can open the C source conversion and have a look how it’s done. 1 Quote Link to comment Share on other sites More sharing options...
trufun101 Posted February 9 Author Share Posted February 9 1 hour ago, Clint Thompson said: Try digging into the build folder of print example under the basic project folders. From there, you can open the C source conversion and have a look how it’s done. Ah ha, thanks! I didn't know that the C source conversion existed under the build folder for Basic projects. Neat. For those just passing through, here's the solution: js_r_textbuffer = ee_printf("%d",myInt); rapPrint(); 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.