Re: How to send a number as a number or How to rule an LED

2011-02-04 Thread form
On Fri, Feb 4, 2011 at 12:18 PM, form wrote: > > else > ++bufloc; // next read will go in the next buf char For safety's sake... else { ++bufloc; // next read will go in the next buf char if ( bufloc > 255 ) { // ERROR

Re: How to send a number as a number or How to rule an LED

2011-02-04 Thread form
Try: write numtochar( tValue ) to file thePort This will only work for values less than 256, however. You can increase that range by breaking the number down into individual bytes and sending those in sequence. What you should do instead is send the number as ascii as you are now, but end it wit

Re: weird IDE behaviour

2011-02-01 Thread form
I've seen this happen too, where LiveCode thinks the shiftkey is down for some things. Happened just yesterday, in fact. I've also suspected other modifier keys as getting "stuck", but I'm not sure about that. This usually happens when I'm right in the middle of something, and don't have time to le

Re: OT - GOOGLE NOT WORKING FOR ME

2011-02-01 Thread form
This isn't really a LiveCode thread, but since it is here, I'll chime in and mention that you can change what the search box in Firefox goes to. Note the icon on the left side of the search box - Make sure its set to Google. It may have been changed to something else, and that something else isn't

use-livecode@lists.runrev.com

2011-01-31 Thread form
Slight fix to the code: if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd and the lastbtn of btn b < 1 then Needed to make sure the button wasn't already used in the previous line. ~ Chris Innanen ~ Nonsanity On Mon, Jan 31, 2011 at 2:00 PM, form wrote: > I

use-livecode@lists.runrev.com

2011-01-31 Thread form
I'm thinking you're going for refrigerator poetry magnets, or something like it. To that end, I made something that reads the order similar to the way a human would. I haven't tested it a lot, but this was the arrangement I used: http://dl.dropbox.com/u/144280/btnorder.png There are a dozen butto

Re: An idea on multithreading implementation

2011-01-31 Thread form
Even discounting games, I'd love to be able to designate a substack to being "threaded", disabling its access to objects in other stacks, and limiting communication to event/message passing. It would be very much like using the open process command with a Windows command line program. (WHY doesn't

Re: SPAM Square Up

2011-01-31 Thread form
On Sat, Jan 29, 2011 at 12:08 PM, Peter Haworth wrote: > Don't know about these guys but the credit card processing market is full > of hidden charges - very much like cell phone plans. For example, I get > charged $10/month as a "statement fee"!!! Now that's making a statement... I've got one

Re: [ANN] TimeMachine

2011-01-27 Thread form
On Thu, Jan 27, 2011 at 11:45 AM, Richmond wrote: > >> We "purists" preferred the TV series; especially the bit with Hot Black > De Satio. *Makes a all-black interface to his next LiveCode app in honor of Adams* ~ Chris Innanen ~ Nonsanity ___ use-

Re: File naming convention

2011-01-27 Thread form
I think the #2 option should be fine. Apple uses the .app extension for folders, after all. (Not that humans ever see them...) But how about this: docs/ help.txt.dir/ index.html image1.png teapot.png.dir/ index.html to go with this: apps/ help.txt teapot.

Re: An idea on multithreading implementation

2011-01-27 Thread form
Just mulling the thought over... If a substack was tagged as being Threaded, then it couldn't "see" objects or events outside of itself. It would have its own event list that runs separately. So if the main stack is in the middle of a long process, the substack would still be interactive. The thre

Re: [ANN] TimeMachine

2011-01-24 Thread form
that memory is a static recording. At the same instance, our expectations and predictions of the future are also the static result of our brain applying experience to memory. Even our senses that form our conception of "now" are delayed somewhat from the actual sensing. So there doesn't

Re: fillRule - An useful vector graphic property

2011-01-18 Thread form
Just a tip, in case its useful... You can just use a comma instead of CR when populating the points. They get turned back into CRs internally, but it makes it easier to hand-jam values in the code to use "1,1,20,20,100,100" instead of "1,1"&cr&"20,20"&cr&"100,100" ~ Chris Innanen ~ Nonsanity O