Search found 2654 matches
- Mar 21, 2016 20:22
- Forum: General
- Topic: Dynamic Arrays in UDT Constructor Crash [SOLVED]
- Replies: 8
- Views: 747
Re: Heap Overflow?
<<NOPE>> There was something wrong with this Constructor: Constructor imContext() load_wordBench( wordbenches( MASTER ), "Data/master.dictionary.json", 1 ) wb_make_hash( wordbenches( MASTER ) ) this.curBench = MASTER this.curGramCtx = 0 end Constructor Which went away when I moved it to a ...
- Mar 21, 2016 20:00
- Forum: General
- Topic: Dynamic Arrays in UDT Constructor Crash [SOLVED]
- Replies: 8
- Views: 747
Dynamic Arrays in UDT Constructor Crash [SOLVED]
Is there any way I could have run out of heap space, and how can I check to know if that's the issue and/or fix it?
- Mar 21, 2016 19:47
- Forum: General
- Topic: Macro Possible Bug
- Replies: 13
- Views: 1102
Re: Macro Possible Bug
I use macros a lot so I'm familiar with debugging them and the complexities. The notation is used is to take up less space visually. It should work the same way, but as you said, macros are strange.
- Mar 21, 2016 17:15
- Forum: General
- Topic: Macro Possible Bug
- Replies: 13
- Views: 1102
Re: Macro Possible Bug
What I did instead was:
And I feel like that should have produced the same result. But I could be wrong.
Code: Select all
If I = 0 then : ? "zero" : end if
And I feel like that should have produced the same result. But I could be wrong.
- Mar 21, 2016 0:29
- Forum: General
- Topic: Macro Possible Bug
- Replies: 13
- Views: 1102
Re: Macro Possible Bug
I couldn't find where it was duplicated, but I did make some edits to the code which seem to have fixed the problem.
- Mar 21, 2016 0:08
- Forum: General
- Topic: Macro Possible Bug
- Replies: 13
- Views: 1102
Re: Macro Possible Bug
Even if that's true, it
1. doesn't throw a duplicated definition
2. isn't stuck on ingram
3. should not be able to be fixed by adding a pointless line
1. doesn't throw a duplicated definition
2. isn't stuck on ingram
3. should not be able to be fixed by adding a pointless line
- Mar 20, 2016 23:00
- Forum: General
- Topic: Macro Possible Bug
- Replies: 13
- Views: 1102
Macro Possible Bug
When I saw this I was baffled. The compiler was reporting that the variable ngidx1 was not declared even though it clearly was. The offending line was: var ingram = this.wordgrams(POSTNG).array->items( ngidx1 )->object->fields(1)->value The variable is declared for lines up. I thought I may have don...
- Mar 10, 2016 21:01
- Forum: General
- Topic: Resizing graphic screens?
- Replies: 11
- Views: 1024
Re: Resizing graphic screens?
Hey old friend. Hope you are doing well!
- Mar 10, 2016 19:23
- Forum: General
- Topic: Resizing graphic screens?
- Replies: 11
- Views: 1024
Re: Resizing graphic screens?
Resizing is handled by the OS which fbgfx doesn't exactly allow access to. The work around is to put an fbgfx screenbuffer into an OS window. The method would depend on which GUI (winapi, gtk, fltk, etc..) you use to make that work.
- Mar 07, 2016 21:28
- Forum: Tips and Tricks
- Topic: Generates Generic HTML from JSON
- Replies: 0
- Views: 752
Generates Generic HTML from JSON
This program basically takes a JSON object and then creates an HTML document to access the object within the HTML without any dependence on local documents . In order to make this work for you, find this: "myJsonObj[0].txt;" ..then swap out .txt for whatever object tag you're using. Files:...
- Mar 02, 2016 21:16
- Forum: General
- Topic: Compiled program crash.
- Replies: 5
- Views: 638
Re: Compiled program crash.
Alright. I reinstalled the system and now it works fine.
- Mar 02, 2016 19:40
- Forum: General
- Topic: Compiled program crash.
- Replies: 5
- Views: 638
Re: Compiled program crash.
No, that's not it. Makes sense but unfortunately, a file which used to compile will not compile anywhere. (That is to say I thought of that).
- Mar 02, 2016 4:20
- Forum: General
- Topic: Compiled program crash.
- Replies: 5
- Views: 638
Re: Compiled program crash.
I tried that. The compiled "hello world" does run. But other compiled programs which will run on other computers do not run on this one. I'm not sure yet what specific call this computer is hanging on, nor do I really think in the long run it matters. Something is wrong with OS and virus a...
- Mar 01, 2016 20:22
- Forum: General
- Topic: Compiled program crash.
- Replies: 5
- Views: 638
Compiled program crash.
All programs compiled are hanging but only on 1 specific machine. I need ideas as to why this might happen. The other machine I tested it on runs the same operating system (Win7) and the program works fine. There are no bugs in the code. I'm running a boot time virus scan now. Any ideas?
- Mar 01, 2016 8:45
- Forum: General
- Topic: Errors between versions. [SOLVED]
- Replies: 6
- Views: 672
Re: Errors between versions.
That explains it. Thanks fxm.