Search found 196 matches

by pink
Wed Apr 10, 2019 3:38 pm
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 4
Views: 363

Re: Memory exhausted

that makes total sense, will give that a try Thanks! @pink: That error is generated by the lc-compile command-line tool which compiles lcb into modules. The error you are getting typically arises if you have a single handler with a very large number of commands in it (it's a limitation of the parser...
by pink
Tue Apr 09, 2019 12:42 am
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 4
Views: 363

Re: Memory exhausted

Happens in 9.0.2, 9.0.3, 9.0.4-RC2

Also, I forgot to mention, after this happens, if I try and save an open stack I get :

"Can 't save stack {STACKNAME} due to an error: can't open stack file"
by pink
Mon Apr 08, 2019 11:38 am
Forum: LiveCode Builder
Topic: Memory exhausted
Replies: 4
Views: 363

Memory exhausted

So I programmed an LCB library full of SVG icons from Icon54. It is huge, the library is around 7700 lines long. At around line 7562 I received the error "Parsing error: memory exhausted" So my question is, what are the limitations of an LCB library, and if I scaled back a little and successfully, h...
by pink
Thu Mar 07, 2019 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 305

Re: Standalone build error in 9.0.2

okay, so after experimenting way too much I've come to the following scenarios that are definitely repeatable: in scenario A, I have a single "normal" stack with a stack script; this compiles in scenario B, I have the same stack, but it uses an external script-only stack as the stack script; this fa...
by pink
Wed Mar 06, 2019 4:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 305

Re: Standalone build error in 9.0.2

Okay, finally got a successful build, I got rid of all the script-only stacks and just made them regular scripts.

So the question is, why would that error out?
by pink
Wed Mar 06, 2019 12:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 305

Re: Standalone build error in 9.0.2

Yes, have built with 9.0.2, I also gave a try on a MacOS computer, and got the same result.

The two main differences:
1. Added a couple of widgets
2. Converted to script only stack behaviors
by pink
Tue Mar 05, 2019 8:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone build error in 9.0.2
Replies: 5
Views: 305

Standalone build error in 9.0.2

So I'm trying to build a standalone, I've made numerous version of this application in the past. All I am getting is a window that says "There was an error while saving the standalone application" and a lot of information, none of which really give me a clue as to what the error is... At first I tho...
by pink
Thu Feb 21, 2019 6:23 pm
Forum: LiveCode Builder
Topic: Drawing Hexagons
Replies: 13
Views: 625

Re: Drawing Hexagons

Honestly not sure if there is an advantage... I've been trying to replace more parts of my stacks with homemade widgets partially as a programming exercise, but also because it is can really clean up my scripts. The game board is 37 hexagons, and to resize each one, and then position them properly r...
by pink
Thu Feb 21, 2019 2:31 am
Forum: LiveCode Builder
Topic: Drawing Hexagons
Replies: 13
Views: 625

Re: Drawing Hexagons

Hermann - is there an easy way to rotate this polygon by 90 degrees? I tried the below code, when I add the rotate code, the hex flies off the canvas (it's not visible at all at 90 degrees, if I change it to 45 degrees, it is partially visible off to the side) put polygon path with points regularPoi...
by pink
Wed Feb 20, 2019 9:09 pm
Forum: LiveCode Builder
Topic: Drawing Hexagons
Replies: 13
Views: 625

Re: Drawing Hexagons

Hermann - Thanks, i will most definitely give that a try

Richard - Yes, making a game board, sort of a hexagonal version of 2048
by pink
Wed Feb 20, 2019 3:23 pm
Forum: LiveCode Builder
Topic: Drawing Hexagons
Replies: 13
Views: 625

Drawing Hexagons

I am ultimately going to make a widget with a pattern of hexagons, so far I have created the "center" hexagon and will draw the rest around it... before I repeat this 36 more times, is there a simpler way than what I have below? is it possible after creating the first polygon and filling it, to just...
by pink
Mon Feb 18, 2019 5:08 pm
Forum: LiveCode Builder
Topic: Popup field?
Replies: 2
Views: 240

Popup field?

I want to be able to create a "form" widget. It was suggested to me that I could popup a field for the user to edit text which can then get saved back into the widget.

Is this true? if so, how do I do this?
by pink
Sat Dec 15, 2018 9:24 pm
Forum: LiveCode Builder
Topic: Add new properties without blowing up existing
Replies: 2
Views: 340

Re: Add new properties without blowing up existing

Okay, that is what I needed... should've read that closer...
by pink
Sat Dec 15, 2018 8:10 pm
Forum: LiveCode Builder
Topic: Add new properties without blowing up existing
Replies: 2
Views: 340

Add new properties without blowing up existing

Okay, so here's my next problem... I updated a widget that I've been using in projects and added a property: property showTitle get mShowTitle set setshowTitle metadata showTitle.editor is "com.livecode.pi.boolean" metadata showTitle.default is "false" metadata showTitle.section is "Text" private va...
by pink
Sat Dec 15, 2018 7:52 pm
Forum: LiveCode Builder
Topic: Updating a widget in use
Replies: 2
Views: 339

Re: Updating a widget in use

okay, restarting Livecode definitely was the step I needed

Go to advanced search