Search the web
Sign In
New User? Sign Up
xbasic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 17874 - 17903 of 18790   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
17874
Hi People, I have been trying to define a user defined type the Xbasic manual has an example: TYPE COLOR USHORT .red USHORT .green USHORT .blue USHORT...
Kerry Miller
n0wiq34
Offline Send Email
Jun 1, 2008
10:29 am
17875
... You should give an example of your code - the following works fine: PROGRAM "progname" TYPE COLOR USHORT .red USHORT .green USHORT .blue USHORT...
Vic Drastik
vicdrastik
Offline Send Email
Jun 1, 2008
10:45 am
17876
Hi All, According to Vic I was probably trying to define user defined type in the wrong place in my program. Thank you. Sincerely -- Kerry N0WIQ My web site...
Kerry Miller
n0wiq34
Offline Send Email
Jun 1, 2008
11:03 am
17877
Hi People, I defined a type: TYPE OVARS USHORT .preAmble UBYTE .radioAdd UBYTE .controlAdd UBYTE .cOmmand UBYTE .sCommand ULONG .highData ULONG .lowData ...
Kerry Miller
n0wiq34
Offline Send Email
Jun 2, 2008
1:36 pm
17878
... Try: IF (outVar.controlAdd >= 0x58 && outVar.controlAdd <= 0x7F) THEN PRINT "address=";HEXX$(outVar.controlAdd),outVar.controlAdd END IF The ampersand...
Vincent Voois
vvacme
Offline Send Email
Jun 2, 2008
1:43 pm
17879
... I don't think Vince's reply was very clear ... AND (also &) is bitwise and, it has a higher priority than comparison operators (is performed first). There...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 2, 2008
3:21 pm
17880
Hi Steve, About Vince's answer. It was clear enough to me and what he suggested worked. I have tried bracketing the comparisons with the AND and didn't get...
Kerry Miller
n0wiq34
Offline Send Email
Jun 2, 2008
4:03 pm
17881
Hi People, It has finally come to a head in my use of Xbasic. The xbasic manual talks about an upper text area. When I start xb I don't get the upper text...
Kerry Miller
n0wiq34
Offline Send Email
Jun 2, 2008
7:43 pm
17882
... "Upper text area" refers to the command field, above the program entry area and on the right side of the window. -- Steve Gunhouse...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 2, 2008
8:14 pm
17883
Hi People, The manual implies upper text area is above the main text area and to the left of the main window. Sincerely -- Kerry N0WIQ My web site URL is: ...
Kerry Miller
n0wiq34
Offline Send Email
Jun 2, 2008
8:25 pm
17884
Kerry: What do you mean by manual?   If you are looking at one of the html files please post which one if not which of the various DOCUMENTATION packs you...
Dean Sweatman
burbank396
Offline Send Email
Jun 2, 2008
9:28 pm
17885
Hi Dean I down load a copy of the html manual, my system dated it Tue 06 May 2008. File intro9.gif shows an opening screen for a Microsoft Windows v5.0004....
Kerry Miller
n0wiq34
Offline Send Email
Jun 2, 2008
10:05 pm
17886
... That's a separate window called the Console, where PRINT instructions have their output. Max does refer to the command field as "Text Upper", so I presumed...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 2, 2008
10:08 pm
17887
Sorry to but in Steve but I think I understand the question after looking at the GFI.   He is looking at a v5.0004 pde screen capture and you were correct in...
Dean Sweatman
burbank396
Offline Send Email
Jun 3, 2008
12:06 am
17888
Hi People, Now I am trying to share the contents of a string variable among various functions. So far I have had 0 luck doing so. What am I missing? ...
Kerry Miller
n0wiq34
Offline Send Email
Jun 3, 2008
4:30 pm
17889
... Have you declared it SHARED in each function that uses it? -- Steve Gunhouse...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 3, 2008
6:41 pm
17890
... various ... Sample program from the message archive demo of SHARED variables Note that SHARED is in each function that uses it ... with ... with...
Dean Sweatman
burbank396
Offline Send Email
Jun 3, 2008
8:45 pm
17891
To share a variable, the easiest thing to instantly share a variable globally is by preceeding it with the # sign: #MyString$ = "Global" If you don't want...
Vincent Voois
vvacme
Offline Send Email
Jun 3, 2008
8:59 pm
17892
... you perform the share according to the examples given by Steve and Dean. ... mention but is very logic... ... minor case typo, XB will unconditionally...
Dean Sweatman
burbank396
Offline Send Email
Jun 3, 2008
9:47 pm
17893
Hi Group, As I have talked about converting a string variable to a number and received many good comments and suggestions here is another wrinkle. I have built...
Kerry Miller
n0wiq34
Offline Send Email
Jun 5, 2008
3:08 am
17894
... Something tells me you're not meaning what you say. A binary string (which is what I think you mean) is a string of ASCII characters consisting of only 0's...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 5, 2008
4:20 am
17895
... Kerry, Always give examples or we will have no idea what you are talking about. Here is my guess about what you are trying to do: x= 0x00000123 PRINT x s$...
Vic Drastik
vicdrastik
Offline Send Email
Jun 5, 2008
4:56 am
17896
Hi Group, I thought I did give enough information to ask an reasonable question. Excuse me for using the term "binary string" I didn't mean to confuse you with...
Kerry Miller
n0wiq34
Offline Send Email
Jun 5, 2008
10:54 am
17897
... question. ... confuse ... 1s and ... have to ... integer ... after it ... I am not really understanding what you are trying to do but ... Why not take the...
Dean Sweatman
burbank396
Offline Send Email
Jun 5, 2008
12:39 pm
17898
... I swear I did not input "o"s But "0"s(zeroes) in B$ <sigh>...
Dean Sweatman
burbank396
Offline Send Email
Jun 5, 2008
12:44 pm
17899
... Kerry, as I said before, you need to give examples of input and output. Does inString$ have only 0's and 1's, or decimal digits or hex or what? How long...
Vic Drastik
vicdrastik
Offline Send Email
Jun 5, 2008
1:01 pm
17900
Hi Group, For the Nth time, I am writing a program to interface with a computer untraceable radio. The radio has the interface defined as what is called CI-V,...
Kerry Miller
n0wiq34
Offline Send Email
Jun 5, 2008
1:52 pm
17901
... question. ... confuse ... 1s and ... have to ... integer ... after it ... Are you diming variables or strings? Check for typos ... 1)) ... into ... Here...
Dean Sweatman
burbank396
Offline Send Email
Jun 5, 2008
2:36 pm
17902
... "Dropping the leading 0's" is meaningless. You need to add enough zeros to have the right length to send to the radio - or not. Does the radio expect the...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 5, 2008
2:52 pm
17903
... Try something simpler. If you have a string in decimal, then prefix it with "0x" to tell XBasic it represents hex digits and then convert it. -- Steve...
Steve Gunhouse
sgunhouse
Offline Send Email
Jun 5, 2008
3:09 pm
Messages 17874 - 17903 of 18790   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help