I'm trying to read incoming data from a serial port, process (display) it, then go back and wait for the next dataset. Why doesn't the following work? What's...
Does a FOR-NEXT Loop produce the same results? Bob From: nsbasic-desktop@yahoogroups.com [mailto:nsbasic-desktop@yahoogroups.com] On Behalf Of Don Pomplun ...
Yes; I changed the Do..Loop to a For I = 1 to 10 . . . Next. It never came back with even the first read before showing (twice) as "not responding". Don...
Try inserting a delay within the loop at the end to allow the read code to complete before the next read is executed. This may help you. For I=1 to 10 . .... ...
I just tried something along those same lines . . . I put a DoEvents in the for-next loop. Behavior is curious, at best. Apparently the Not Responding is a...
I don't see any reference to effecting the globality of variables. In fact, even though Option Explicit is inherently On, I find I can just use a variable in...
From the Help file: Script level variables are available to all procedures in the script; procedure level variables are available only in the procedure they ...
Hi Don, in NSBasic (like many other Basic variants) variables are global if they're declared outside any Sub or Function, i.e. right at the beginning of your...
Hi everyone, I'm new here and i have a newbie question: I need to use a API call to "SetWindowPos" in my Form_Load. I declared at top the API like: Declare...
Can Select Case only used for "equality" ? Here's what I'm trying to do: Heading=123 Select Case Heading Case <90 Compass = "NE" Case <180 Compass = "SE" ...
By definition, the CASE implies an equal test. Each case is equivalent to IF TRUE=(expression). With a little tweekin, you can create more complex select...
I'm having a hard time with the Listbox control. Does ListItem work? For example. FooLb.AddItem "Foo" dumbval = FooLb.ListIndex MsgBox FooLb.ListIndex Thanks...
I have used it a number of times. One problem is ListIndex is not initialized. You should set FooLB.ListIndex=0. I would also suggest using a Clear at the...
Somewhere I read that I can only have 1 Form object open at a time, and the example of using 2 forms in a program has Form1.Hide before Form2.Show. Instead of...
You can probably do this in your own code (not the generated code). How about having your forms only use the top part of the window, while you add your own...
I looked at that, and I'd like more screen area to work with. It occurred to me I could make multiple Frame objects and turn the Visible property on and off...
Hi Dont know if this helps but I have an application the the user selects from the first window either Defects, Inspections Reports etc. The selection shows...
Hi Again The other thing that I have done is disable the Windows Close X button. This means that the user can only close a window by using the close button I...
Hello everyone! I am new to NS Basic, even though I have been a registered NS Basic for PalmOS user since Version 3. I just never really got around to ...
Answers in line. ... without ... If you have the API declarations, then you can probably use NSBasic Desktop. Look at the Declare2 project in the Samples...
I've been ending my program by just clicking the window's close (X) button. But now I want to execute some form unload code, so I added a QUIT button that...