I had brought this up a year ago and the answers provided helped me understand. But I'm now involved in a discussion with someone about buffer overflows and...
... Of course if you actually use the character access to strings (as in, a${n}) then you could have an overrun, but for most people that would constitute...
Steven V. Gunhouse wrote: <Snipola> ... But even in this case there's no possibility of executing arbitrary code, right? Just corruption of data. Thanks for...
... If you try to, you could execute code due to an error. You'd have to accidentally overwrite the contents of a GOADDR, SUBADDR or FUNCADDR variable or...
Does anyone have an example of adding, subtracting, multiplying and dividing two complex numbers, and then printing the results as well as the original numbers...
On Wed, 04 Jan 2006 18:12:51 -0500, indexcuttermill2 ... Complex arithmetic is comparitively simple, the hard part is I/O. There are two built-in complex...
... and ... well as ... are ... them ... notes, ... components ... ... SCOMPLEX is ... depends on ... example ... Steve Thanks so much for the explanation and...
Good Day, I am using Xbasic 6.2.3 I cannot compile cos , COS ,sin,SIN in it. It tells me cos,COS etc is undeclared. Can some one tell me how to compile/run it?...
... Read the documentation? Advanced math functions are part of the xma library. That means to use them, at the start of your program you need to have the line...
It should be in the PROLOG and it should be one of the first lines XBasic encounters in the PROLOG. You can put any other IMPORT in front of it, but no...
This message is directed to Xbtools [ D.Szafranski ] ; who I was unable to reach through my normal mail server. I wish to use some code from your program...
... I gather you're not too familiar with the PDE, perhaps? Your program is divided into a prolog and a number of functions, of course the prolog comes first....
Thanks Steve, It worked. Now I have this code which I have use with quick basic DIM x(6) DIM rex(3) 'REX[ ] holds the real part of the frequency domain DIM...
... You might want to look at the documentation for FORMAT$(). For most purposes though the standard PRINT command should be able to do a good enough job....
... What is the type of the variable you are using? The default type for variables is XLONG, which is an integer type. If you want to use decimal results, you...
one last question how do i save data/results on a local file? The data which is produced from Xbasic code it self. I believe I can draw a graph with that using...
Is that possible if you run a code on qbasic you get different results(floa point values) then if you run same code on xbasic?? here is the code I am talking...
QBasic has as default type SINGLE. XBasic has as default XLONG. Also QBasic wasn't that particulary precise in the values. But in a lot of cases:QBasic is not...
... Certainly, depending on how much documentation you have available. Saving ... is generally like other languages, you can either print stuff to a file...
... I'm still unsure what the routine you are running is. There is one significant difference between XBasic and QBASIC, and that is notation for exponents....
... First error - what is the type of "PI"? It has no type suffix and no declaration, so is XLONG. In other words, PRINT PI will give an answer of 3. Using the...