I'm not sure I understand what you are trying to do exactly
But you need a local variable to keep track of the current column, lets call it curColumn
Oh need one for the current row, we'll call it curRow
You probably need local variables to keep track of how many colums and rows you have
using your ...
Search found 86 matches
- Fri Nov 05, 2021 6:21 am
- Forum: Android Deployment
- Topic: swipe photo horizontally and vertically not exclusively linearly
- Replies: 1
- Views: 3377
- Fri Nov 05, 2021 5:57 am
- Forum: Games
- Topic: Maze Generator
- Replies: 7
- Views: 55583
Re: Maze Generator
Ah, I've held that book in my hands back when there were bookstores.
The only way to know is to try. I hadn't the slightest idea except something about 'grid..visit cell..knock down wall." I understand that BASIC code only as far as what the commands do in general, but what they are doing all ...
The only way to know is to try. I hadn't the slightest idea except something about 'grid..visit cell..knock down wall." I understand that BASIC code only as far as what the commands do in general, but what they are doing all ...
- Thu Nov 04, 2021 10:07 pm
- Forum: Talking LiveCode
- Topic: on openCard, is there a bug?
- Replies: 7
- Views: 6763
Re: on openCard, is there a bug?
Trap the currentCard like so
You fill in the actual name between <>
on openCard
if the currentCard of this stack is not <"the short name of the target card"> then exit openCard
end openCard
Using the number of the currentCard instead of short name of 'currentCard'
on openCard
if the number of ...
You fill in the actual name between <>
on openCard
if the currentCard of this stack is not <"the short name of the target card"> then exit openCard
end openCard
Using the number of the currentCard instead of short name of 'currentCard'
on openCard
if the number of ...
- Mon Nov 01, 2021 3:42 am
- Forum: Multimedia
- Topic: Particle Demo
- Replies: 16
- Views: 88366
Re: Particle Demo
Neat demo, I like the flocking. Changing the send in 40 milliseconds to 2 milliseconds gets 80FPS.
- Thu Oct 28, 2021 9:08 pm
- Forum: Building Externals
- Topic: Another attempt at 3D external using openb3d
- Replies: 12
- Views: 60987
Re: Another attempt at 3D external using openb3d
WELL HOT DOG! IT WORKED! Thanks Klaus and n. allan!
So what changed from 8 to 9 that killed this kind of feature ?
Well the new stack works the old ones pop an error dialogue with no info.
Oh wait, i fixed something?
I moved the OpenStack to card script of the old teapot and it worked.
Then I ...
So what changed from 8 to 9 that killed this kind of feature ?
Well the new stack works the old ones pop an error dialogue with no info.
Oh wait, i fixed something?
I moved the OpenStack to card script of the old teapot and it worked.
Then I ...
- Thu Oct 28, 2021 5:52 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to create stand alone application/use own script library
- Replies: 9
- Views: 7673
- Wed Oct 27, 2021 2:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: 3D Primitives -Cone ,Cube, Cylinder, Sphere & Sphere2
- Replies: 1
- Views: 2665
Re: 3D Primitives -Cone ,Cube, Cylinder, Sphere & Sphere2
There was an extra bracketed variable in the cylinder loop causing it not to draw correctly, stack updated in post above.
- Wed Oct 27, 2021 8:52 am
- Forum: Building Externals
- Topic: Another attempt at 3D external using openb3d
- Replies: 12
- Views: 60987
Re: Another attempt at 3D external using openb3d
I guess its a dead end for free loaders using last community edition. Maybe there will be another pandemic and I can get a low priced Livecode again.
- Tue Oct 26, 2021 11:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to turn my Figma Prototype into a program
- Replies: 36
- Views: 33933
Re: I want to turn my Figma Prototype into a program
For table fields you keep all the data as TAB delimited values
put that's really hard to show online and if you open it in a standard text edtior the columns can be all over the place
so comma separated is the easy default, maybe have fudge some commas in regular text though before storage...
Bob ...
put that's really hard to show online and if you open it in a standard text edtior the columns can be all over the place
so comma separated is the easy default, maybe have fudge some commas in regular text though before storage...
Bob ...
- Tue Oct 26, 2021 1:53 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to turn my Figma Prototype into a program
- Replies: 36
- Views: 33933
Re: I want to turn my Figma Prototype into a program
I'm not clear about your big old table field, is that something the user is actually going to look at?
If it's just something for keeping all your data, just a big comma seperated (CSV) list of text store in the stack custom properties will do the job.
using the previous cards full of fields example ...
If it's just something for keeping all your data, just a big comma seperated (CSV) list of text store in the stack custom properties will do the job.
using the previous cards full of fields example ...
- Tue Oct 26, 2021 7:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to turn my Figma Prototype into a program
- Replies: 36
- Views: 33933
Re: I want to turn my Figma Prototype into a program
Oh there's a whole stack there! I thought it was just a picture and ran with the first thing I'd improve: the UI!
Less labels, more user space
It's A GIF, open in new tab/window for animation
underFieldsPreview.gif
UnderFieldExample.zip
Top button activates script which copies each of the "TOP ...
Less labels, more user space
It's A GIF, open in new tab/window for animation
underFieldsPreview.gif
UnderFieldExample.zip
Top button activates script which copies each of the "TOP ...
- Tue Oct 26, 2021 1:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to turn my Figma Prototype into a program
- Replies: 36
- Views: 33933
Re: I want to turn my Figma Prototype into a program
A card is just another form of an array, but the engine holds and displays its various kinds of data and has all the functions and keywords set up to work with the array already, like
put the properties of this card into tArray
put the keys of tArray
returns all the properties of the card
Is ...
put the properties of this card into tArray
put the keys of tArray
returns all the properties of the card
Is ...
- Mon Oct 25, 2021 1:40 pm
- Forum: Building Externals
- Topic: Another attempt at 3D external using openb3d
- Replies: 12
- Views: 60987
Re: Another attempt at 3D external using openb3d
Posted in 2014, I'm guessing not LC9 Widget Builder thing.
Downloaded 322 times and nobody got it working...
Downloaded 322 times and nobody got it working...
- Mon Oct 25, 2021 7:43 am
- Forum: Feature Proposals
- Topic: Replace LiveCode Script with JavaScript, forever
- Replies: 113
- Views: 619911
Re: Replace LiveCode Script with JavaScript, forever
It's not entirely a bad proposal. I see all manner of things "just work" in a web browser with Javascript.
I can compile and run over 30 programming languages online through javascript.
I build something with HTML5 from Livecode, it's megabytes of files and it doesn't do anything.
Scratch? Google ...
I can compile and run over 30 programming languages online through javascript.
I build something with HTML5 from Livecode, it's megabytes of files and it doesn't do anything.
Scratch? Google ...
- Mon Oct 25, 2021 7:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: I want to turn my Figma Prototype into a program
- Replies: 36
- Views: 33933
Re: I want to turn my Figma Prototype into a program
Oh you said something odd.
On "Client_info_card" the text fields for Name, Company, Phone Number, and Email are blank. They should each read their function until the user adds new info to the field.
read their function
? ?
Fields just sit their doing nothing until the user does something to ...
On "Client_info_card" the text fields for Name, Company, Phone Number, and Email are blank. They should each read their function until the user adds new info to the field.
read their function
? ?
Fields just sit their doing nothing until the user does something to ...