CompuServe Thread

#BASIC's WINDOW command

6 messages in this thread
#58721From: Jim Shaffer Jr.Jul 24, 1989 11:56 PM
I have a question about the WINDOW command in BASIC. I've been unable to get it to accept an argument for the size and placement of the window! (i.e., WINDOW 2,TITLE,(5,5)-(50,50),31,1) I get an error every time I try to run a program with a sized window. I've found, though, that it works if I leave off the screen ID (the last parameter!) This is obviously unacceptable. Is there a bug in BASIC, or have I had a mental block and am overlooking something obvious? –Jim
#58780From: Dave Haynie/C128 LandJul 25, 1989 10:21 AM
Have you opened a screen or are you opening the window on the workbench screen. I has been a while but I was having a similar problem with a program I was working on. Problem is I don't remember what I did to solve the problem. If I can find the code I will take a look at it and let you know what I did, because I did get it to work, eventually. Greg Givler Commodore Online Support
#58892From: RON TROYJul 25, 1989 10:39 PM
Hey Greg, welcome to Amiga land! They let you out of your forum? (don't mind my sometimes rather juvenile humor) Ron
#59104From: Dave Haynie/C128 LandJul 27, 1989 12:40 PM
They let me anywhere I want, as long as they dont catch me. 🙂 Greg Givler Commodore Online Support
#59367From: Richard Rae/SYSOPJul 29, 1989 10:42 AM
Hehe… a friend received a special gift for his birthday one year. 'Twas a small card, and imprinted thereupon were the words: This card entitles the bearer to a free shower in any house he can get into without being caught. Rick
#58900From: Jim Shaffer Jr.Jul 25, 1989 11:29 PM
I had opened a screen. I don't have my code handy either (I use CIS from another machine at this point), but if nobody comes up with anything I'll post the relevant parts. –Jim