This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (39 messages)
Does SAS have an IBM compiler?
Sory I didn't get back sooner, but I found what was wrong. I was declaring TextAttr as extern (since it was used first in another objet file) and that doesn't work for some reason. Once the TextAttr was declared in the same obj file as the gadget 's it all…
GadToolsGadgets
Message #42196
I've been trying for four days now to get CreateGadget to work in my application. I've tried everything I can think of but CreateGadget will not create more than one _KIND of gadget, that is, it will create any number of gadgets of the same _KIND but fails if the…
A friend of mine just pointed that out too. Thanks for your reply Fred.
#GadTools
Message #38591
I'm trying to make a GadTool Integer gadget pop up at different locations on the screen but can't move it once it has been created, in spite of taking it out of the list and all that. What do you have to do?
#115930-
#BBS calling
Message #116237
I was hoping Supra had already adressed the problem. ( The internal modem doesn't use the serial port. ) It really looks like a problem with modem0.device.
Right you are! After seeing your example I realised it wasn't the syntax and started looking elsewhere. Confusion is directly proportional to the length of the project.
#gads
Message #35262
Thanks for your responses, I've got it working now. Seems you can't use win->RPort before you 've actually opened the window………..
Thanks a lot for your response, will let you know how it works out (I'll read it off line as this is long distance. Thanks again./exit
#gGadgets
Message #35226
Could someone give me a simple example of how to use DrawBevelBox() please. Thanks.
#C pointers
Message #30393
How do you make a char pointer comparison? If you go …. char *name = "Bob"; if(name == "Bob") printf("Hello %s. \n",name); you'll never see `Bob' printed.
#SAS/C v6.0
Message #30105
When using SAS/C version 6, what is going wrong if a file won't compile nor put up any errors? I've found that if there is a myproject.h file and a myproject_protos.h file it won't even try to compile. When it does compile this file it creates no object file and…
#Lattice C
Message #29984
How do you get SAS/C to printf a float?
Thanks a lot for your help, Vic. \exit
That's exactly what I'm looking for. An example would be greatly appreciated.
#Image
Message #29543
The RKM in RefreshGadgets says you can RemoveGadget() then "After changint the Image, Border, Text … the gadget is replaced in the Gadget List … How can you change an Image since they won't take variables only constants. Do you have an alternate Image struct?
I need the autodoc to use CYCLE_KIND. I'm using SAS5.10a which has 2.0 header files but if it has the autodocs for the new features, I can't find them. What I'm trying to do is cycle between four colors as an indication of what mode has been picked. What changes…
color screen
Message #29524
Is there an easy way to set up the pencolors you want in a window opened on a CUSTOMSCREEN with depth set to 3?
Yah, been doing that a lot. Decided to just leave it in there. Is there a way to cycle the colors of a BOOL gadget on each select?
I tried that but it crashed, thought maybe that wasn't its purpose. Will have to check the code over carefully. Thanks Steve.
#gadgets
Message #29460
I would like to add a gadget to the window and then remove it when no longer needed. Do I have to struggle with AddGadget to do this? Would it be easier to make a small requester that looks like a gadget?/exit
I wanna thank you for your first answer; to save connect time I responded withought really reading what you said. In fact I didn't have IDCMP flag set. Had REQGAD, an example in the book uses GADGETDOWN in the NewWindow struct but hey that was further along.
Thanks for your reply, Keith. This is what gets me, I do have IMMEDIATE set and I'm not using RELVERIFY. One of the gadgets is BOOL, toggle the other two are string. Intuition recognises them (BOOL highlights, for example) but there is no GADGETDOWN response, even though CLOSEWINDOW et al…
#C Code
Message #29194
I'm trying to learn C and having a little difficulty. Can't get any response from GADGETDOWN. MENUPICK and CLOSEWINDOW work OK. The gadget structs look OK. Anybody have any ideas?
#PS font
Message #42650
Mike, I'm having trouble using fonts other than the default 9, Artistic Colombia, etc. I'v followed the directions for updating paths, gone over section 8.5 (Font Management) but the other fonts are never available. The FONTLIST is updated too. So what do you have to do to use the other…
asm
Message #21586
I tried to copy Skinner's amiga.shell out of his 68000 book and compile it using Lattice's asm assembler. It wouldn't compile as it didn't seem to recognize data or bss blocks. It compiles using A68K alright so is there something you have to do with asm that is peculiar to…
Thanks for your reply. It sounds ecourgaging anyway; ie the mag isn't being dropped entirely.
So the subscribers will be taken care of? AWTJ folded for sure? Is the new tab confirmed to replace them or is it pipe >NIL?
OH NO. Not another one. Why can't the Amiga community support this type of magazine?
#mag
Message #21037
What's this about AW tech j? Has if folded too?
OK, thanks; it's kind of intimidating to have to ask such basic questions from a past master of the subject. I origonally wanted to learn assembly (following Transactor articles) realised that C is a necessity and only found the time for it all now. I just plunked the new 2.x…
Opps, just found a typo and Lines.c works fine….
I'm pretty sure that I copied it exactly, I've proofed a hard copy several times, but I'll have another look. Thanks for the tip on Peck's book.
It's ISBN 0-201-18187-8 Copyright 1990, I'm still running 1.3. BTW, is there a C text that you recommend?
Thanks John, I'm trying to learn C and the Amiga at the same time and it's quite a big chew. I've copied several examples from RKM.Lib&Dev as practice, which isn't too bad but (naturally) some of their C style is pretty advanced and consequently hard to follow. I have several…
console.device
Message #20472
There must be standard routines for inputing data while using console.device analogous to scanf. Can anybody help me out here? Thanks.
#14785-
Help with Agnus
Message #14984
OK Don. The new guy did it and he's stripped 4 of the screws for the power supply. Thier new shop is all rug and he took the chip out of its case withought grounding first ( I was there ) and touched the chip… end send store
This is for a friend of mine; apparently 2500 works fine for black and white but not for color. I don't know which printer he is using but he thinks that 2550 will work for color.
#printer driver
Message #1285
IF anyone has the printer driver EPLQ2550 would you please upload it? Thanks