This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (72 messages)
#Program security
Message #48272
Good day people. While writing one of my programs I came on a situation I hope someone here can remedy. I noticed that any printf messages in my source were left as text strings in the compiled program. What I don't like about this is that anyone with a good…
#Compiler info?
Message #48053
Hi. Could someone please tell me what the newest version of the SASC C compiler is and if they still make their compiler for the Amiga? I also need to know if a new version is due in the near future, and can the same compiler make programs using custom…
#Why GIF?
Message #48079
Hi. I was browsing picture files and to my surprise I found many of them with the GIF suffix. Was this a decision to save library space? What I really want to know is if there is a utility available to convert these gifs into our own iff's? These ibm…
#File access help
Message #47866
Hello experienced programmers, I have a program that asks a user to enter a file name to open. As you know, not having your program list the possible files makes it difficult for a user. I understand that getting someone to explain all the code for obtaining the names of,…
#MAllocate help
Message #44417
Hello people, I'm trying to allocate memory and fill it at the start of the program. When I get to the printf statement my array elements come out null. Does anyone have an idea what is wrong here. The data in my Names file is ok. Thank you for your…
Steve, I like your idea of allocating memory to take care of my stack problem. The trouble I think I will have here is that my array is Global. Is it possible to allocate memory for a global array? Thanks for the advice. Henry
#deletion technique?
Message #43728
Hi. I think this advice will have to come from some veteran programmer. What I'm looking for is a method to erase a record from a file. I've used fwrite to enter many struct records but what do I do if I want to delete record number 3 for example?…
Werner, Thanks for the advice. The way I saved the data to file I was sure I had NULL terminating strings. As it turned out the problem was too small a stack size. Thanks again, and keep up that great Amiga support in Germany! Henry
Bob, Thanks for the hand! You hit it on the head, or should I say stack. You have also cleared up what has been going wrong in my original program. I was never aware of overflow problems in programming. Fortunately I also found a compiler function that checks the stack…
#Array filling problem
Message #43594
Hello, I could really use some help here with my frustrations. Please! I put 892 records of size struct record in a file "Names", which I want to fill an array in my real program. I wrote the small program below to check if everything will load right at run…
Hi John, Thanks for the response. I cut down much of the function so anyone helping would find the problem easier. At run time the function reads in a record at a time after I have prompted for a date range. Peter Wade has given me the solution already, but…
Hi Peter, Thank you for the help with my date range problem. The function works properly now. Yes the Manx system also has library functions to do the work. I figured that on the chance someones system clock wasn't set right, all their data would be inaccurate. For that reason…
Hi Andy, This summer is putting me behind on all my mail and computer time. I want to thank you for the help with the VERSTAG and the fseek problem. Have a nice summer, Henry
Date searching
Message #41694
Hello gang, Could someone please have a look at my 'if' setup. I wrote a function to find all dates in a file between the from and to structs. As you see I have set the initial variables to near infinity. If I don't change the dates all the records…
fseek from end?
Message #41353
Hello. I have two confusing yet probably easy problems. 1. I have been trying to access the last record of my record struct. I wanted to try the fseek (infile, -?L, 2); but I wound up with random data when I printed out the record. I tried to use the…
Larry, Thanks for the help with gets(). It's working now. I noticed something else that explained some of the trouble. For one of my inquiries I have to use a scanf() and what happens is the gets() that follows is skipped. I got around it by setting up a dummy…
#gets fgets use
Message #40723
Hello to all you Amiga faithful. I have been trying to use gets or fgets (with keyboard as stdin) to try and avoid scanf(). I haven't been able to make it work right. If I use gets or fgets alone the function goes right past them as if they aren't…
Connect Problem
Message #119536
Hello. I'm having a new problem when I connect with Compuserve. I have the SupraFAX Modem 9600bps. I have been linking to CIS with LAPM and from 300 to 9600 bps without any problems. Even flow control worked. I haven't changed my software and as far as I can see…
Hello Betty, Thanks for recommending Auto Pilot. I Dloaded the demo version and it looks excellent from what I could make out. I am however having a problem with it right off the bat. When I get my connect signal AP says waiting for HOST prompt but nothing happens. Didn't…
#Off-line Mailer
Message #37252
Hi. I'm looking for a good offline mail reader to use on compuserve. It will have to be compatible with all the CIS message forums. Thanks in advance for the information. Regards, Henry
Re: Info on OS/2 system and windows. Thanks Steven I get the message. Henry
Hi Steven. I really appreciated your thorough advice re: bridge-board info. Now I'm hoping you happen to know about IBM's as I'm considering your advice here. Are you familiar with their new OS2 multi-tasking system? Is it a safe buy or are there still many bugs in the system? Will…
#BridgeBrd Advice
Message #34333
Hi. I need some advice. I have an A3000 that I want to add an IBM bridgeboard for. I have no idea which might be best (providing there are more than one). I like to stay with Amiga products where possible, but it isn't very important. I want to be…
Hi Chris. Thanks for the info on Proteus. I will have to consider it and your program "Parabit" too. Regards, Henry
Re: BBS programs. Hi Michael, thanks for the info. Regards, Henry
Thanks Jim. I have just been told the files I want ARE in AmigaUser lib. Regards Henry
BBS Programs
Message #34057
Hi. I read in the Feb.93 Amiga World about a couple of software programs for people who might want to set up a small BBS. One was called Falcon BBS. The other was BaudBandit BBS. Is there any chance of these programs showing up on CIS? And if they are…
Thanks Michael. I like the idea of fgets and sscanf and will check it out. Regards Henry
Thanks for the hand Alex. You are probably right about needing a good Arexx book to learn from. Presently I'm putting most of my time into learning C now. Arexx will be next. Regards Henry
Thanks for the help Doug. You aren't kidding about scanf being 'evil'. The scanf didn't work with int's either. I finally went with a char string[0] but will investigate your examples all the same. Regards Henry
re: Parse upper pull…..Thanks Bill Regards Henry
Thanks a lot Tom. I just bought the entire new set of RK manuals and intend to have a lot of fun soon. I will definately write you back if I come up with the code you want. Regards Henry
Thanks Ben. I'll give it a try. Would you know the answer to my other question? I have been trying to use the conversion functions with a variable. The trouble is that using the PULL command always converts lowercase to uppercase and I therefore won't get the lowercase value. Know…
Rx Window
Message #33902
Hello. I have been trying to get the list results sent to my ARexx window without any luck. Could someone show me how to send DOS results to an ARexx window like the one I have here 'FilePtr' please? if~open('FilePtr','con:0/20/640/109/ARexx Task/CLOSE','W') then exit 20 address command 'delete #?.o' address command…
Convert char
Message #33901
Hello, Can someone tell me how I can keep a letter in lowercase after the pull command? Any letter I type in this program ALWAYS comes out with the uppercase value. Obviously not what I need. /* ARexx Convert argument */ say "Type character to be converted." pull char say…
Scanf trouble
Message #33899
Hello Experts. Could someone save me from a fit of anger that will register on the Richter scale please. Below I have an example function. The problem I'm having seems small, however it appears to defy logic at least to me. I want to use the variable Question to ask…
Thanks for the help Betty. I guess the file extension shows which packing method the cruncher decided to use. Which ever is more efficient? Regards Henry.
Will do Bob, thanks for the help….Henry
#arc problem
Message #77766
Hello, A few days ago I downloaded 2 compressed files from the cruncher/archiver library. 1) Amyzip.lzh 2) Unzip4.lha Using LHArc V1.3 I tried extracting both but received the message: unknown compression type -lh5- . I don't even know which type of decruncher to use with the '.lha' extension, but I…
Hello Jonathan. Thanks for this info! I'll look into this right away. Take care……..Henry
Hello Art. Thanks for the info. Just to let you know…I already have my origional Amiga, an A500 V1.2 . I just don't want to be stuck with it if there is another solution. As for running noFastMem, I don't believe that would help as it would cut down the…
Dump Falcon?? Awk! NEVER! ….At least unless they give me credit for the old original program. Also, out here the cheapest programs cost me $60 + a shot. Too much to just "dump" I think. Thanks for the recommendation. Take care. Henry
3000 info?
Message #26904
Hello people. I'm wondering if anyone knows or has heard about a possible addition to the Amiga 3000 that would allow me to run programs needing a 68000 CPU or 16 bit memory? Keeping an A-500 around for just that purpose is too cluttering and I would have to buy…
Ok thanks for the confirmation Rob. Henry
company address
Message #22876
Hello. I would like to know if anyone can help me with an address? I want to send a letter to the Spectrum Holobyte Company, you know the people who created Falcon F-16 fighter simulation? I have an address on the box… 2061 Challenger Drive, Alameda, CA 94501 …but I'm…
Ok thanks John. I haven't tried programming in RAW mode yet but I guess it's about time. I'll get back to you if I can't figure out how to do it. Take care. Henry
Hi John. Yes that is exactly it. I live in Montreal, Quebec and I'm sure you know there is a large french population here. So, I'm trying to write bilingual programs. My programs use the USA0 map which happens to be more complete than either the French or French Canadian…
#Setmap in C
Message #19222
Hi! Can someone tell me how to check and (if I want) set the keymap? I'm writing a few programs that will need to change the users keymap but I couldn't figure out how to do it. I wanted to try the dos setmap command, but the answer evades me.…
Great! Thanks for the info John. I was looking at an example opening a window and in the routine there were $ dollar signs. Just hoping this book will show the reasons for things like that. Best wishes, Henry
#Instruction
Message #8526
I have just started to familiarize myself with ARexx. Although the manual is well organized, some of the examples have some unexplained syntax. The manual recommends the book: The REXX Language, A practiacal Approach to Programming by M.F. Cowlishaw. -Is this the book of most peoples choice in Arexx? I'm…
Page 1 of 2