Why does this give me a compilation error 44 ? Solved

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mrcoollion
Posts: 709
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Why does this give me a compilation error 44 ? Solved

Post by mrcoollion » Thu Aug 16, 2018 4:42 pm

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
Last edited by mrcoollion on Thu Aug 16, 2018 4:47 pm, edited 1 time in total.

mrcoollion
Posts: 709
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

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

Post by mrcoollion » Thu Aug 16, 2018 4:46 pm

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:

Post Reply

Return to “Talking LiveCode”