Search found 11 matches

by xLite
Thu Jan 19, 2012 11:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't escape infinite loop without force closing LiveCode..
Replies: 3
Views: 3633

Can't escape infinite loop without force closing LiveCode..

Basically whenever I get into the unfortunate problem of my code creating an infinite loop, due to the "live" nature of LiveCode it forces the application to constantly run and deny me access to the code to fix my mistake. The only solution is to force close LiveCode everytime which hardly makes my ...
by xLite
Wed Jul 06, 2011 1:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Source] Isometric Tile Engine
Replies: 1
Views: 2447

[Source] Isometric Tile Engine

Well I've only recently started working with LiveCode and straight away I wanted to see what it was capable of. So basically I've managed to create a basic isometric tile engine using purely LiveCode. It was a challenge to say the least but unfortunately I feel this language just isn't for me. I hav...
by xLite
Tue Jun 28, 2011 11:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Objects With Properties?
Replies: 3
Views: 2759

Re: Custom Objects With Properties?

Thanks for the response. Basically what I'm trying to achieve is a pathfinding algorithm, specifically A* if you are familiar with that sort of thing. So I need to be able to cycle through and array of "Nodes" which make up a path. In each "Node" object I need the x position, y position, the type (w...
by xLite
Tue Jun 28, 2011 10:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Objects With Properties?
Replies: 3
Views: 2759

Custom Objects With Properties?

Does LiveCode let you create objects with properties like in Javascript for example where you can create an object like so: var myObject = {property:1, anotherProperty:"test"}; // myObject.anotherProperty would output "test" I need to store these types of objects in an array but I have no idea how t...
by xLite
Tue Jun 28, 2011 7:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bug
Replies: 7
Views: 4586

Re: Bug

Xlite... You asked... You created an infinite loop and you wanted a way to get out of it ... Dixie I thank you for taking the time to help but I meant what do I do if I accidently create a loop of "answer" commands accidently and don't have access to the code panel or the save button, surely there ...
by xLite
Tue Jun 28, 2011 6:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bug
Replies: 7
Views: 4586

Re: Bug

Hi xlite... One way to get out of such a predicament... :D on mouseUp randomFunction end mouseUp on randomFunction if the optionKey is down then beep exit to top end if add 1 to fld 1 send "randomFunction" to me in 1 sec end randomFunction be well Dixie So if I don't add this code, the only way out...
by xLite
Tue Jun 28, 2011 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bug
Replies: 7
Views: 4586

Re: Bug

It's a simple function that calls itself every second.

Code: Select all

on randomFunction
   answer "test"
   send randomFunction to me in 1 second
end randomFunction
If I call that, it will go on forever. I basically just need some way to disable or reset a program without force closing the LiveCode process?
by xLite
Tue Jun 28, 2011 5:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bug
Replies: 7
Views: 4586

Bug

I understand LiveCode is meant to be live but how do you actually stop it from being live? I have a timer set up that displays an alert every second and I can't stop it. This is probably the reason other languages don't use this development model.. Any way to stop this or is this just an unfortunate...
by xLite
Mon Jun 27, 2011 11:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ideas for project.
Replies: 2
Views: 2336

Ideas for project.

Hey I am basically gathering info on what I can do for my computing project. It will be done in LiveCode and I was wondering if anyone has any good ideas that would fit with LiveCode nicely or would seem clever and more interesting than the average spot the difference game. I am a confident programm...
by xLite
Mon Jun 27, 2011 1:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Advice for a beginner.
Replies: 4
Views: 4370

Re: Advice for a beginner.

As far as I know I can't touch LiveCode at home unless I fork out £70 with seems a waste as I will only be using it for my 1 year advanced higher computing course. But if you never use LiveCode further than assigned homework, that would be the real waste! LiveCode is pretty addictive, so I think yo...
by xLite
Sat Jun 25, 2011 2:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Advice for a beginner.
Replies: 4
Views: 4370

Advice for a beginner.

Hello My school has just started making the switch from the outdated COMAL to LiveCode. I like what I've seen so far and I'm looking forward to developing with it. One concern of mine is what options do I have to continue a project I am working on in school, at home. As far as I know I can't touch L...