Arrays
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm
Arrays
Despite using Revolution since 2.0 I'm a complete newbie when it comes to arrays. I need some help as to how to list each custom property like what Revolution does with the Property Palette but as I said before when it comes to arrays my mind just shuts and locks the door.
Any help would be much appreciated.
Any help would be much appreciated.
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
Hi mickpitkin92,
I'm not entirely sure what you're exact problem is but if you need to list the custom properties of a stack, card or object, you can simply use the code below in a handler.
This displays the list of the custom properties of the current stack. If you need it to show the list of the custom properties for objects, example: field "textDisplay", then you simply replace this stack with field "textDisplay"
I'm not entirely sure what you're exact problem is but if you need to list the custom properties of a stack, card or object, you can simply use the code below in a handler.
Code: Select all
answer the customKeys of this stack
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm
Im only 17
Im only 17 and i've been programming using Rev for about 3 years now. I used to fire up Rev of the memory stick whenever there was no work to do in my school.
My dream is to have my own operating system and I would love to be able to actually programme one using Rev cos as far as Im concerned C and C++ are just to downright hard and VB is now .NET based so it relies on the Win32 API in Windows.
My dream is to have my own operating system and I would love to be able to actually programme one using Rev cos as far as Im concerned C and C++ are just to downright hard and VB is now .NET based so it relies on the Win32 API in Windows.
Dear mickpitkin92,
It is impossible to use Revolution to create your own operating system because Revolution needs an operating system to run in the first place. There have been a few attempts to create "operating systems" with HyperCard and Revolution, but none have been successful. Please, dedicate your energy and time to something else.
Best,
Mark
It is impossible to use Revolution to create your own operating system because Revolution needs an operating system to run in the first place. There have been a few attempts to create "operating systems" with HyperCard and Revolution, but none have been successful. Please, dedicate your energy and time to something else.
Best,
Mark
Last edited by Mark on Tue Jul 07, 2009 3:42 pm, edited 1 time in total.
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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
I just got into using the computer 3 years ago. It happened when I got really hooked to this online game called Ragnarok Online. And so, as they say, the rest is history...mickpitkin92 wrote:Im only 17 and i've been programming using Rev for about 3 years now. I used to fire up Rev of the memory stick whenever there was no work to do in my school.
My dream is to have my own operating system and I would love to be able to actually programme one using Rev cos as far as Im concerned C and C++ are just to downright hard and VB is now .NET based so it relies on the Win32 API in Windows.
Oh and as an irony, my course (I'm in college), doesn't have any relation to programming or softwares - whatsoever. I'm just stubborn enough to curiously venture through unknown territory (for me).
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
Well, there IS AppleScript, which is written into the Mac OS at very deep levels. Have you ever looked at it? It has basically the same syntax as Rev, so maybe you're just a little late on that one - you might want to pick again.mickpitkin92 wrote:Mark: I wasnt trying to create an operating system with Rev, I was just saying it would be a dream to shut the Apple fan boys up with an OS made from a language like Rev. Cos tbh them and the Windows enthusiasts are always arguing.
-
- VIP Livecode Opensource Backer
- Posts: 239
- Joined: Tue Jun 30, 2009 11:15 pm