Get a list of global properties

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Get a list of global properties

Post by SirWobbyTheFirst » Sun May 16, 2010 7:01 pm

Hello again to everyone.

I was wondering if there was a way to retrieve a list of global properties in rev, e.g. Backdrop and AllowInterrupts. I know you can retrieve a list of properties stored in an object but I was wondering if there is a way to do it for the global ones.

Thanks.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Get a list of global properties

Post by Mark » Mon May 17, 2010 1:13 pm

mickpitkin92 ,

There is the propertyNames function. This includes both properties of objects and global properties.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Re: Get a list of global properties

Post by SirWobbyTheFirst » Mon May 17, 2010 5:24 pm

Ah lovely, thank you very much Mark.

Post Reply