objective c - DDMathParser - Using a string as an argument in a custom function -


i make function allow me pass string in argument - what's best way this?

eg.. moles("ca(oh)2")

any extremely gratefully received.

i ended putting in parsing strings variables. ddmathparser:

somefunction("hello") 

... equivalent to:

somefunction($hello) 

however, means can have variables more complex stuff:

somefunction("hello world") moles("ca(oh)2") 

... etc


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -