Page 1 of 1

Why does this give me a compilation error 44 ? Solved

Posted: Thu Aug 16, 2018 4:42 pm
by mrcoollion
Why does this give me a compilation error 44 (properties: expecting 'of') near "long" , char 8 ?

Code: Select all

put the long ID of control ID theDataA["ObjectID"] of stack ID theDataA["StackID"] of card ID theDataA["CardID"] into tLongObjectID
I am probably overlooking something obvious :shock:

PS. I do not know what type of object it is (button, field, widget ect...) so therefor I use 'control'

Regards,

Paul

Re: Why does this give me a compilation error 44 ? SOLVED

Posted: Thu Aug 16, 2018 4:46 pm
by mrcoollion
Found it. Had card and stack on the wrong place..

Correct code is:

Code: Select all

put the long ID of control ID theDataA["ObjectID"] of card ID theDataA["CardID"]of stack ID theDataA["StackID"]  into tLongObjectID
Sorry :lol: