A44 ==== System mode. I have a main program, several subroutines and a group of variables. They are all in separate files (on my PC). I would like to make the variables global, like in user mode (can be seen from the VAR selection). I make 1 file for reach variable - this seems tedious, but I do get one variable, and it seems to be called the file name, eg: :: DOBINT #ZERO ; If I save this in a file called state.s and compile and load it to an output file called state, and download it to the HP48, it appears as the variable STATE (without the quotes). Now, how do I reference this variable from, say main.s? I have put in a statement EXTERNAL STATE, and refer to the name STATE in my program, eg: ==== Maybe you should know about the Usenet rules and what some things mean.. You're in my killfile means that my newsreader (outlook express) will never display any of your future (uninteresting) messages. It's not a threat or anything like that as it just mean that I do not care about what you may post. This newsgroup is usually a very pleasant ant interesting forum. Unfortunately, from time to time, people like yourself arrive without anything constructive and insult other users. As a matter of fact, I've found Donald messages quite interesting. Most of the algebraic calculators, do not follow the infix notation for trig function. In fact, almost all the scientific calculators (non graphical), to calculate the sinus of 30, you have to type: 30 then press the [SIN] key to get Sinus(30). It's also the case for calculating a square root. These calculators include machine like Casio FX-82 (probably world-wide leader in scientific calculator worldwide), the HP6S etc.. Actually, it's also a good way to test their accuracy. You type 2, then hit 30 times the Square Root key, and then 30 times the Square key. They are algebraic calculators, but you still use kind of RPN (postfix) for some functions. That was the point Donald tried to raise but that you obviously missed. So don't worry, there're no killers going after you, I will just never be bothered with your messages anymore, which I believe will ==== How childish. Not only have you not paid attention to the fact that I was already told that, but you sit and call my postings uninteresting. Seems that you don't have a bit of sense, or maturity for that matter. He did not post which calculator he was referring to when he wanted to know the difference. I assumed, since this is an HP forum, that he was talking about HP calculators, not Casio calcs. Then I told how with Algebraic on the HP49G, you press SIN then you enter the number in the parenthesis. On RPN, you press 30, then SIN. I neither missed one point of the entire conversation, nor did I relay any uninteresting or unuseful information. Twas only when Mr. Donald Bachman wanted to assume that he knew everything about every calculator, including the one I was using. Turns out that he was wrong and I very much dislike those who consider themselves omniscient. I cannot, for the life of me, figure out why one post that made perfect sense in every aspect being taken so seriously by someone such as yourself. I do not consider myself a troll, nor does any other person of any other newsgroup that I have ever posted to. However, since I have no right to try to change your mind, I shall not. If you do not wish to read my posts, so be it. You never once helped me anyway. I shall not miss your advice as you shall not miss my posts. One more thing before I send this. How is it that several days after you put me in your killfile, you see and reply to my message? BTW, just in case you aren't accustomed to words in the English language, smart-ass is nothing more than a smart aleck. If you do not believe me, very knew the ==== Sinus(30)? You must be calculating with your nose... =) sin(x) == _sine_ x Matt, you said something uncalled-for, and then you said something really, really dumb, both, I think, out of ignorance of the real if unstated rules of the forum. Now usenet is a place that doesn't really enforce those kinds of rules, because anyone browsing has the ability to insure they never see your posts again. You should take this episode as a gentle suggestion that you need to learn your audience before your write for it - and learn it well. And if you don't, nothing will happen. You can post, and post, and post, and post some more - and no one will ever see your messages. Being ignored by a lot of people all at once is, in many ways, a far ==== As I have already been accused of thinking I know everything (which is a pretty amazing claim if you come down to it because the person making the claim would have to be a mind-reader and therefore is implicitly claiming access to far more information than I ever have), I'll just toss out the following from http://members.aol.com/jeff570/s.html for general consumption: -- According to some sources, sinus first appears in Latin in a translation of the Algebra of al-Khowarizmi by Gherard of Cremona The origin of the word sine is curious. Aryabhata called in ardha-jya (half-chord) and also jya-ardha (chord-half), and then abbreviated phonetically derived jiba, which, following Arabian practice of omitting vowels, was written as jb. Now jiba, aside from its technical significance, is a meaningless word in Arabic. Later writers, coming across jb as an abbreviation for the meaningless jiba, substituted jaib instead, which contains the same letters and is a good Arabic word meaning cove or bay. Still later, Gherardo of Cremona (ca. 1150), when he made his translations from the Arabic, replaced the Arabian jaib by its Latin equivalent, sinus, whence came our present word sine. However, Boyer (page 278) places the first appearance of sinus in a It was Robert of Chester's translation from the Arabic that resulted chord in trigonometry, and the Arabs had taken this over as jiba. In the Arabic language there is also a word jaib meaning bay or inlet. When Robert of Chester came to translate the technical word jiba, he seems to have confused this with the word jaib (perhaps because vowels were omitted); hence he used the word sinus, the Latin word for bay or inlet. Sometimes the more specific phrase sinus rectus, or vertical sine, was used; hence the phrase sinus versus, or our versed sine, was applied to the sagitta, or the sine Yes, it actually can give rise to ambiguity. Conventions are always necessary. Using Mathematica syntax, Plus[1,2,3]==6 and Times[6]==6, so 5 3 2 * + will return 10. It is still possible, though, to denote the end of arguments using end-tags. What about using an Equation Writer? Bhuvanesh. ==== Yes, the command SEQ would also get a program instead of an algebraic object. (The plotter can also use a program instead of an algebraic.) About lists as arguments with SEQ: The algebraic on level 5 can also be a list. Example: Instead of 'X*3' X 1 5 1 you can also use {X 3 *} X 1 5 1 as arguments for SEQ. It will create the same sequence. Also all arguments can be lists themselves and SEQ does then list processing. ==== What is Callypso ??? ==== And it's a rumoured new Handheld developed in Australia by HP ( ACO? ). Its specs are: 240x320 8 Grayscale display Processor - Stongarm 133mhz 16mb RAM Rechargable Lithium Ion Battery ==== I have made four programs collected in one folder where expressions can be It works ! Long ago i reasoned with H.P. and the BBB that selling the ==== Well, if you want to enter sysrpl/ml directly into an out-of-the-box 48 without any external tools then see http://groups.google.com/groups?selm=392bda66.5137417%40news.remarq.com . Otherwise, if entering a giant string of hex digits into your calculator isn't your idea of coding fun then you'll need to install Jazz ;) : http://www.hpcalc.org/hp48/programming/asm/jazz68.zip . Hope this helps... ---------------------------------------------------------------------------- ------ before replying. ---------------------------------------------------------------------------- ------ well, take the normal way to solve a equation: [EQW] type in: 'x^2-12*X < 2' [ENTER] [ <- ] S.SLV / SOLVEVX returns: ==== Our big govt crony system crushes good people , so don't hint at competitive forces . We have not a free mkt . This recession is one of many occuring every 28 years and will last 2 years . ======================================= the excesses. unlearn industry. in generation. most American and and choice, HP fact, markets and else ==== My apologies to Bernard Parisse - I left him off the list! JYA was not the ==== Oops, and Renee too. :-) Anyone else I missed? -- Look at the boot-ROM pictures... (Tanya surely have contributed a lot to the inspiration if not perspiration ;-) Never forget the heurestic algorithm guru Mika Haekki... I mean Mika Salo - erh sorry, Mika Heiskanen, from Finland On Tue, 25 Sep 2001 11:59:59 -0700, _______TVD________ Uhhh... apparently not long enough for the messages to propagate to your news server. Two people just replied and I was one of them : http://groups.google.com/groups?selm=lm6vqt05pdvc7m8ti2qga2cacrak1sv7h2%404a x.com Geez, can we manage to have a little more patience than a two year old? Also, it would help if you could be more specific than enter sysrpl from the 48 K.B. as that's a little general :) . ( Is it just me or is the mentality of this newsgroup slowly metamorphosing into that of the TI groups? ) ---------------------------------------------------------------------------- ------ before replying. ==== Me - upset ! GRRRRRR! I was furious !!! Why! ?? You made one small mistake on conserning about the new keylevels JYA first esplained that .7 .8 .9 would be added and I told him that adding a .01 for a shift&hold would be much better. Although JYA declined and said that you're not the boss around here (or some similar typical french thing) still I constructed some of my programs using *my* suggestion To my great suprise JYA came up with exactly my solution with the invent of the 1.19-1 ROM and so I could test my code on a freshly-flashed HP 49G in a few hours after the release. BUT ==== for one parameter 'F(X)=X^2-2*X+3' use first DEFINE, then modify to: Why the extra x DROP ? Well, let's take another example: 'G(X,Y)=SIN(X)^2+COS(Y)^2' DEFINE modified to (this time in RPL) What the heck? What's that x y DROP2 doing there? A: The last command/function that uses an argument based on Rick Grevelle«s post Making Custom Messages at hpcalc.org I«ve created a library for german messages which I will with X Yeah! I've got the idea now... ==== What a laugher! You don't seriously believe that, do you? Even so, there are a whole lot of other things that are more important than how complicated these respective systems are. For one thing, the metric system is fully supported and upgraded; the hodgepodge of English units are not. (There isn't even an official definition of a pound force, for example, even though they have been used in a fairly well-defined way with only a few minor variations for about a century.) Ambiguity is another huge problem with the English units, with many units sharing the same names. Miles are a problem, and there are 3 different quarts in use. Ounces are terrible. Tons are worse. You often can't even tell what quantity is being measured, let alone how big that quantity is--especially with ounces and tons. That's not much of a problem with metric units. This often results in ==== I have recently bought a HP49G, I use too have a 28S which I wae quite found of. Where can I find a complete refence guide to the 49G, the refenceguide that came whit the 49G are a not complete enough fore me :-( A simple thing as converting complex from P. to R. as I did on the 28S - I can't find in the 49G refence guide. Is that a function that the 49G don't have - or am I just blind ?? PS I'm sorry if the spelling in english are wrong. -- MVH ==== And I had to use a slide-rule !!! in he physics test (in order to get into the university of Oulu) in 1977. The very next year they allowed a simple calculator (although I bought a HP-25A), but that was too late for me. :-( I got 33/36 because of a an error in the range with that stupid slide-rule (HP-21 rules!!!) 108V instead of 1080V, which made the current go the wrong way, and they took off 3 points !! No, I'm no help this time - because this is a question I'd like to see the answer to as well. If you execute a prog in a lib, you execute a ROMPTR, that (in the case of a lib in port 1 or 2 on the '49) will copy the code to TEMPOB before executing it. To do so, the flash bank containing the code is momentarily swapped in - but swapped back out (ie the previous config restored) before the code is executed. So - maybe some system location still contains an indication of which bank was swapped in and out, but I don't know if there is one or where it would be. (I started disassembling DOROMPTR, but gave up after a while) ACO: au secours! Werner Huysegoms xwerner_huysegoms@my-deja.comx (delete the leading and trailing x) that Maybe you can have a look at GETNAME (extable). It internally uses ROMPTR 102 8, a code object which begins with GOSBVL POP# R0=A W GOSBVL SAVPTR D1= 86120 % ROMPTAB+3, i.e. first entry LC 102 % #258d = library ID of extable *92AAA A=DAT1 X % loop to find the corresponding entry D1=D1+ 16 % each entry is 16 nibbles long D1=D1- 8 % point D1 at switch routine addr C=DAT1 A D=C A % D contains switch routine addr D1=D1- 5 % point D1 at (library) address C=DAT1 A D1=C % D1 points at library C=D A GOSUB 92B95 *92AD2 ... *92B95 PC=C understand the code any more, but I think you could simply execute the bank switching routine to get access to your library. Of course the code assumes library 258 is installed. HTH Thomas -- Thomas Rast t.rast@iname.com