This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (269 messages)
When open your requester, try using the NOISYREQ flag. I believe this is only in v1.2. This will let the requester pass other IDCMP events. – Steve –
That's an interesting problem. As far as I know (and I MAY be wrong) an IDCMP message is the only way to get requester events. How do you know that the AutoRequester does exactly that? Maybe it just replies to the NewSize event without really processing it (and just letting…
#66296-
Modula Keyb.
Message #66469
Ok, I'll look for it (I know it has to be somewhere around here, but alas, I've accumulated another ton of paper since I saw it last…). I think that Input() returns the file handle to the default input only. If you open your own window, I don't think Input()…
#63153-
Modula-2 bug
Message #63819
This bug fix scheme sounds pretty good to me Les! So when do we begin? – Steve –
#63548-
Modula Qs
Message #63817
Hi Mike. I don't think you can 'pre-link' implementation modules (I'll be happy to learn otherwise, though). Yes, there is a way to detect Ctrl-C. That you have to do is get a pointer to your own task control block (by doing FindTask(0)). In the task control block there's a…
#63523-
MODULA-2 CONSOLE DEVICE
Message #63815
If all you want to do is open a window on the workbench screen, you can simple call 'OpenInputOutput' with the appropriate arguments (such as 'CON:0/0/640/200/FooBar' , or something like that). This will cause your program to open a window, and to send its output, as well as receive input…
I'm very pleased with the Post-Mortem debugger, Les!! It already saved me countless hours of hair pulling! – Steve – P.S. And now, for your next trick you should come up with a source-level (runtime) debugger!
Hear! Hear! Me too! – Steve –
Great! Thanks alot. As soon as my colleague completes his work, I'll upload the fast I/O module. – Steve –
There are supposed to be too functions LONG() and SHORT() which would let you convert between 32-bit Reals, and 64-bit reals. I haven't played around with them yet, but a friend of mine did. He says that the LONG() function isn't implemented yet, and using SHORT() crashes his program. Oh…
Yes, please do upload it. A colleague of mine (and richie's) has been working on fast I/O module (basically doing his own buffering) and he's almost done. – Steve –
#59050-
Another M2 rel 3.00a bug
Message #59236
There's another bug somewhere either in InOut or Streams. This is an old bug that surfaced again. Try the following: VAR i : CARDINAL; BEGIN FOR i := 1 TO 123 DO WriteCard(i,1); WriteLn END; END. What happens is that you get some funny characters in the display. – Steve…
#59050-
Another M2 rel 3.00a bug
Message #59236
There's another bug somewhere either in InOut or Streams. This is an old bug that surfaced again. Try the following: VAR i : CARDINAL; BEGIN FOR i := 1 TO 123 DO WriteCard(i,1); WriteLn END; END. What happens is that you get some funny characters in the display. – Steve…
#58931-
#Help-Modula2-Disk-error
Message #59235
Here's a suggestion for something I wanted to do, but never quite had the time for it: write your own M2Error! The idea is simple enough; I don't understand why M2Error is so buggy. So how about it? Having a nice (working) little program which displays the errors, but doesn't…
#58931-
#Help-Modula2-Disk-error
Message #59235
Here's a suggestion for something I wanted to do, but never quite had the time for it: write your own M2Error! The idea is simple enough; I don't understand why M2Error is so buggy. So how about it? Having a nice (working) little program which displays the errors, but doesn't…
#58851-
Help-Modula2-Disk-error
Message #59234
Thanks for the info, Joergen. – Steve –
#58851-
Help-Modula2-Disk-error
Message #59234
Thanks for the info, Joergen. – Steve –
Joergen, what was that bug in DOSCodeLoader?
Trapper may not catch the use of a null pointer. Still, I always import Trapper into all my programs, 'cause you never know…. – Steve –
You cannot assign one variable to another if they are not of the same type (even if the declaration of both vars are the same: ARRAY[0..n] OF CHAR, they are considered to not be the same). To declare a two dimensional array do: ARRAY[0..12],[0..9] OF CHAR. Hope this helps, -…
You cannot assign one variable to another if they are not of the same type (even if the declaration of both vars are the same: ARRAY[0..n] OF CHAR, they are considered to not be the same). To declare a two dimensional array do: ARRAY[0..12],[0..9] OF CHAR. Hope this helps, -…
Wow! Sounds good. One point was ambiguous in your msg. Did you mean to say that everyone who bought the current TDI package will be entitled to an upgrade after Dec 1, or did you mean that only people who bought the package AFTER Dec 1 are entitled? If the…
Why not just store the version number of Intuition.Sym, in Foo.Sym? – Steve –
I don't know if you noticed, but suppose you have a definition file where you have to declare anything which require you to import from another .Sym file (say Intuition), then all of the imported .Sym file is incorporated into yours. For example: DEFINITION MODULE Foo; FROM Intuition IMPORT WindowPtr;…
There IS a Turbo-to-Modula translator! It's being marketed by Logitech for their MS-DOS M2 compiler (and therefore uses Logitech specific function calls). I have it, but never really bothered to use it for converting Turbo programs to TDI-compatible M2 code. I guess it can be done, but will still require…
#42915-
#MODULA-2
Message #43063
But this comparison to Turbo is academic: There aint no Turbo for the Amiga, therefore TDI M2 wins by default. Do you know (thru you contacts in Borland) if there ever will be an Amiga version? – Steve –
They OUGHT to be, but are they really? In my benchmarks, TDI M2 was much slower than Aztec C in compile time, and about the same as Lattice (sometimes even a bit slower). Check it out yourself, if you don't believe me. I don't know, but I'm guessing that some…
#42775-
MODULA-2
Message #42847
I didn't say intolerably slower, just slower than Turbo (and I think it's also slower than the C compilers, because it's got so many overlays). Now I don't want anyone flaming off that the M2 compiler is overall faster than the C compiler since the C compiler has to read…
#42775-
MODULA-2
Message #42847
I didn't say intolerably slower, just slower than Turbo (and I think it's also slower than the C compilers, because it's got so many overlays). Now I don't want anyone flaming off that the M2 compiler is overall faster than the C compiler since the C compiler has to read…
#Modula-2 HELP!
Message #42703
Isn't the new packet action type SetFileDate supported only in release 1.2 of KickStart/WorkBench? If so, then you should wait till 1.2 version of the M2 compiler shows up, bacause the current version won't run correctly under Kick/Dos 1.2
#Modula-2 HELP!
Message #42703
Isn't the new packet action type SetFileDate supported only in release 1.2 of KickStart/WorkBench? If so, then you should wait till 1.2 version of the M2 compiler shows up, bacause the current version won't run correctly under Kick/Dos 1.2
#37484-
#MODULA-2
Message #37623
I haven't looked at this, but it might be that the new release does I/O in a slightly different manner. Why don't you try to write the data file to another drive (or RAM). That should cut down on seek time tremendously. Then, after you're done writing to the data…
#37484-
#MODULA-2
Message #37623
I haven't looked at this, but it might be that the new release does I/O in a slightly different manner. Why don't you try to write the data file to another drive (or RAM). That should cut down on seek time tremendously. Then, after you're done writing to the data…
Boy, you really come up with good questions!! I've never worked with the CPR before, but I guess that all you have to do is send the CPR sequence to the console, and then do a read on it, as it will reply with a sequence describing the cursor location.…
Boy, you really come up with good questions!! I've never worked with the CPR before, but I guess that all you have to do is send the CPR sequence to the console, and then do a read on it, as it will reply with a sequence describing the cursor location.…
Tough problems! Re: first problem of finding Intuition window pointer to a RAW window. Well, you got me. But in the recent developer's newsletter (Aug/Sept) there is an example in C of how to find out the window pointer to the console window you're talking to. Re: second problem. I…
Tough problems! Re: first problem of finding Intuition window pointer to a RAW window. Well, you got me. But in the recent developer's newsletter (Aug/Sept) there is an example in C of how to find out the window pointer to the console window you're talking to. Re: second problem. I…
You mean that when you run DskSlv on an apparently good disks you get the displayu of bad links? I think that this is normal. The way AmigaDos works when you create a new file or overwrite an existing one is that it grabs whatever blocks are marked as available.…
You mean that when you run DskSlv on an apparently good disks you get the displayu of bad links? I think that this is normal. The way AmigaDos works when you create a new file or overwrite an existing one is that it grabs whatever blocks are marked as available.…
Re: first problem. Hmmm.. I see your point. It seems to me that the RefreshGadgets procedure is declared incorrectly in the Gadgets module. The third parameter should have been an address, and not a Requester. This is not the first time I've seen this problem of wrong declaration. (Richie, do…
Re: first problem. Hmmm.. I see your point. It seems to me that the RefreshGadgets procedure is declared incorrectly in the Gadgets module. The third parameter should have been an address, and not a Requester. This is not the first time I've seen this problem of wrong declaration. (Richie, do…
Hmmm. I've managed to crash disks before, but that was always because I met the Guru while doing disk access. Never happened to me when everything else seemed normal. DiskDoctor on the 1.2 release ain't bad either. – Steve –
Hmmm. I've managed to crash disks before, but that was always because I met the Guru while doing disk access. Never happened to me when everything else seemed normal. DiskDoctor on the 1.2 release ain't bad either. – Steve –
1. Simple: Just IMPORT NULL from SYSTEM, and then simply pass it in the procedure call. 2. Hmmm… It's hard to tell without looking at the code, but maybe because the variables are local to a procedure, they get allocated on the stack, and when the procedure returns, the stack…
1. Simple: Just IMPORT NULL from SYSTEM, and then simply pass it in the procedure call. 2. Hmmm… It's hard to tell without looking at the code, but maybe because the variables are local to a procedure, they get allocated on the stack, and when the procedure returns, the stack…
Phew!!!!! And I was beginning to think that there was something wrong with the clock hardware on my Amy! Yup, this has happened to me on numerous occasions. That is, the system clock got trashed. I don't know what you mean by index track. You mean the compiler trashed the…
Phew!!!!! And I was beginning to think that there was something wrong with the clock hardware on my Amy! Yup, this has happened to me on numerous occasions. That is, the system clock got trashed. I don't know what you mean by index track. You mean the compiler trashed the…
One more thing, Les. Would it be possible to obtain the Item Cross Reference in some kind of electronic/magnetic form? It's nice having it on paper, but I (and I'm sure everyone else) would find it more usefull to be able to search thru it using a text editor. Maybe…
One more thing, Les. Would it be possible to obtain the Item Cross Reference in some kind of electronic/magnetic form? It's nice having it on paper, but I (and I'm sure everyone else) would find it more usefull to be able to search thru it using a text editor. Maybe…
That's great news, Les! I can't wait for the new release. Let me congratulate you on your wise decision to offer all the source in the commercial package. I hope other software vendors would follow the example. – Steve –
Page 5 of 6