Search found 8 matches
- Tue Mar 03, 2015 2:36 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Shortcut to creating groups of Objects?
- Replies: 4
- Views: 2418
Re: Shortcut to creating groups of Objects?
Hello again, I think you helped me out with my first post on these boards a few weeks back. For a bit more explanation of what I've got in mind on a card there are three Option Menus. each menu has a few items that have some "stats" that are associated with them. Within an Option Menu, the stats are...
- Tue Mar 03, 2015 2:02 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Shortcut to creating groups of Objects?
- Replies: 4
- Views: 2418
Shortcut to creating groups of Objects?
Hello Folks, Been playing around with LiveCode a lot recently, and I've been working on a goofy GUI game about managing a mine. I recently reached a stumbling block and I thought I'd ask here as I didn't find answers readily through google. Basically, I want to script a button that will create a gro...
- Tue Feb 10, 2015 11:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Re: Basic Question about Arrays
Haha thanks! I'm sure this will only be the first question of many however. I really appreciate the help and the problem solving challenges.
- Tue Feb 10, 2015 10:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Re: Basic Question about Arrays
So I see that code generates a list of numbers from 1 to 10 with one on each row. Then the second repeat deletes the 1st, the 2nd etc, but this has the effect of deleting every other line because after line 1 is deleted (for example) line 2 becomes line 1 so then in step 2 line three (not line 2) is...
- Tue Feb 10, 2015 8:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Re: Basic Question about Arrays
Craig, I was able to get the list to populate, but I'm still working on setting up a button to clear. I'm a bit confused about the function of temp in the code, as well as how after is working. Tried to do this and it doesn't work: on mouseUp repeat with y = 1 to 3 get "f"&y put delete before temp e...
- Tue Feb 10, 2015 3:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Re: Basic Question about Arrays
I see the code is intended to place random(99) into f1 to 3 by way of the repeat? started up a new Mainstack with f1,f2,f3 and a button with this script. on mouseUp repeat with y = 1 to 3 put random(99) into field "f" & y end repeat end mouseUp however it returns 'button "Store": compilation error a...
- Tue Feb 10, 2015 2:57 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Re: Basic Question about Arrays
I was unaware of the difference, thanks for pointing it out. You are correct that I want and orderly way to reference data. My various searches involving the words 'table' and 'livecode' yield tutorials about Arrays, hence my use of array in the question. Simple version of what I'm trying to do is t...
- Tue Feb 10, 2015 1:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Basic Question about Arrays
- Replies: 13
- Views: 4576
Basic Question about Arrays
First post here, so howdy everybody. I'm a complete newb to programming and I chose LiveCode because it is so far very quick and fun to learn. However I've spent the better part of the afternoon trying to tackle what I'd assume is a very simple task. In short, I'm trying to write a program that roll...