Sign in to follow this  
Followers 0
MuffettsMan

Possible to nestle functions in a single line?

1 post in this topic

#1 ·  Posted (edited)

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?

Example:

; 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  
Followers 0