I submitted this as a possible bug here. Vadi's informed me that this is currently intended but changeable behavior.
As far as ipairs vs. pairs, I tried with both and got identical results. Thanks for the check though, you're absolutely right that ipairs is the better choice in this case.
Search found 7 matches
- Sat May 11, 2019 2:58 am
- Forum: Help Forum
- Topic: Confusing dechoLink() behavior
- Replies: 2
- Views: 3942
- Tue May 07, 2019 7:19 am
- Forum: Help Forum
- Topic: Confusing dechoLink() behavior
- Replies: 2
- Views: 3942
Confusing dechoLink() behavior
Hello all, The following function is intended to make a large grid (58 X 31) of characters that are individual links that will perform a function based on the x,y coordinates of the clicked character. The function prints the grid correctly but the link actions have the wrong coordinates. If I put a ...
- Sat Feb 02, 2013 9:36 pm
- Forum: Help Forum
- Topic: [SOLVED] Can't align a table in a miniconsole.
- Replies: 9
- Views: 5108
Re: Can't align a table in a miniconsole.
As I said above, my font is Bitstream Vera Sans Mono.
- Wed Jan 23, 2013 1:10 am
- Forum: Help Forum
- Topic: [SOLVED] Can't align a table in a miniconsole.
- Replies: 9
- Views: 5108
Re: Can't align a table in a miniconsole.
Alright, spoke to some folks in the chat (Thanks ThePhoenix and demonnic!) and the problem seems to be that I used a less than ideal method of creating my miniconsoles. Everything seems to work now. For posterity(and warning), I originally created my windows using for i,v in ipairs(windowList) do wi...
- Wed Jan 23, 2013 12:40 am
- Forum: Help Forum
- Topic: [SOLVED] Can't align a table in a miniconsole.
- Replies: 9
- Views: 5108
Re: Can't align a table in a miniconsole.
My main window font is "Bitstream Vera Sans Mono" and it looks like the font used in the miniconsole at font size 10. The only difference between alignment1.png and alignment2.png is just my commenting out this line setMiniConsoleFontSize(windowName, 10) in the window creation code, so I d...
- Tue Jan 22, 2013 9:19 pm
- Forum: Help Forum
- Topic: [SOLVED] Can't align a table in a miniconsole.
- Replies: 9
- Views: 5108
Re: Can't align a table in a miniconsole.
https://dl.dropbox.com/u/27606281/alignment1.png If you look at the screenshot, my miniconsole exhibits the same behavior as the bug report. Additionally, here's a screenshot of the exact same code, except I've changed the font size to 10. https://dl.dropbox.com/u/27606281/alignment2.png It aligns p...
- Tue Jan 22, 2013 3:52 am
- Forum: Help Forum
- Topic: [SOLVED] Can't align a table in a miniconsole.
- Replies: 9
- Views: 5108
[SOLVED] Can't align a table in a miniconsole.
https://dl.dropbox.com/u/27606281/alignmentProblems.png Example output and code for latest attempt at alignment is there. Any ideas? Edit: Forgot to mention, I have the same problem described here. https://bugs.launchpad.net/mudlet/+bug/1095953 Other than making everything font size 10, is there any...