Jump to content
Sign in to follow this  

Possible to nestle functions in a single line?

Recommended Posts


guess i shouldn't be trying to write obj-c and autoit at the same time but its rather frusterating that when i try to combine functions on a single line they bomb out though if i did it on seperate lines its fine is my syntax just wrong or is that not an autoit functionality?


; bombs out with error:
    ; ==> Incorrect number of parameters in function call.:
    $header = StringStripCR(StringStripWS($oElement.innerText))

    ; Works... but is irritating >_<
    $rawData = StringStripWS($oElement.innerText)
    $header = StringStripCR($rawData)

is it just not possible to combine those into a single line?

EDIT: nevermind i forgot the flag on stringStripWS lol WTB a topic delete button

Edited by zhenyalix

Don't let that status fool you, I am no advanced memeber!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.