Search found 6 matches
- Sat Feb 07, 2009 5:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Images
- Replies: 3
- Views: 4692
Hello. I need help to do the same, load an image into a image object. I have readed the tutorial, but the example doesn't work to me; somebody could help me? I need a to load images from the HD and show them into an image object. Is this sentence correct? set the imageSource of image "OriginalImage"...
- Sat Nov 22, 2008 3:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Some questions about arrays.
- Replies: 9
- Views: 9037
- Thu Nov 20, 2008 5:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Some questions about arrays.
- Replies: 9
- Views: 9037
- Thu Nov 20, 2008 2:16 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Some questions about arrays.
- Replies: 9
- Views: 9037
Sorry for the double posting. I have this script in the main card: local state, elem, arrayA, arrayB on preOpenCard startProgram end preOpenCard on startProgram put 0 into state repeat with x = 1 to 20 put the value of x into arrayA[x] end repeat repeat with x = 1 to 5 put arrayA[any line of the key...
- Thu Nov 20, 2008 12:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Some questions about arrays.
- Replies: 9
- Views: 9037
Thank you BvG and SparkOut, I'll try your solutions. For the array "length" are you talking about the number of keys (or indices)? Yes, that's it, the total number of keys (os values). RunRev script language is a bit different from the classic languages, and it's hard at the beginning. Thank you aga...
- Wed Nov 19, 2008 9:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Some questions about arrays.
- Replies: 9
- Views: 9037
Some questions about arrays.
Hello, I'm new using RunRev, and I have some questions. 1) How do I create an array from 1 to 20 using a loop instruction, not manually? I need an array like this: [1,2,3,4,...,19,20] 2) How do I select a random value from the array? 3) How do I delete an element from the array? 4) Is there any vari...