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...
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...
Hi People, I defined a type: TYPE OVARS USHORT .preAmble UBYTE .radioAdd UBYTE .controlAdd UBYTE .cOmmand UBYTE .sCommand ULONG .highData ULONG .lowData ...
... Try: IF (outVar.controlAdd >= 0x58 && outVar.controlAdd <= 0x7F) THEN PRINT "address=";HEXX$(outVar.controlAdd),outVar.controlAdd END IF The ampersand...
... 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...
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...
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...
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: 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...
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....
... 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...
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...
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? ...
... various ... Sample program from the message archive demo of SHARED variables Note that SHARED is in each function that uses it ... with ... with...
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...
... you perform the share according to the examples given by Steve and Dean. ... mention but is very logic... ... minor case typo, XB will unconditionally...
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...
... 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...
... 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$...
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...
... 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...
... 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...
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,...
... question. ... confuse ... 1s and ... have to ... integer ... after it ... Are you diming variables or strings? Check for typos ... 1)) ... into ... Here...
... "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...
... 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...