Don't forget to consult the FB Reference (under the HELP menu) whenever you want to use a new command like WINDOW. Your WINDOW command (the way you need to use it) needs two things, an ID and a TITLE$ (the other things you do not need right now). The ID is for telling the computer WHICH of your program's windows you have in mind: WINDOW ID,TITLE$ You have to answer these questions in order to program the WINDOW command correctly: 1. What ID should you use? Well, when in doubt, try 1, then 2, then 3, etc. HINT: Stu's BASIC interpreter shell that you're using already has TWO windows open.......... 2. Now, what variable can you use for TITLE$? In your code below, if you use "WINDOW save", then "save" is being plugged in as "ID" because it's the first thing after "WINDOW". That is NOT what you want. --Steve On 8/24/05 5:36 PM, "Brian Heibert" <bheibert@...> wrote: > CASE "WINDOW" : FN cmdWIN (restOfInstr) > > LOCAL FN cmdWIN (restOfInstr) > save = restofInstr > WINDOW save > END FN > > Next question how do I change the title of the window that was created? > > I tried saving the number in save > > but I am still having trouble > > Brian > > On Aug 24, 2005, at 5:05 PM, Brian Heibert wrote: > >> Thanks it is working now >> >> Brian >> On Aug 24, 2005, at 11:33 AM, Steven Stratford wrote: >> >> >>> Then the value you're passing in for "restOfInstr$" from lower >>> down in the >>> program is not the value you think you're passing in. Look again. >>> >>> --Steve >>> >>> >>> On 8/24/05 11:02 AM, "Brian Heibert" <bheibert@...> wrote: >>> >>> >>> >>>> I found a typo >>>> >>>> and changed it to this: >>>> >>>> LOCAL FN cmdPRINT (restoflnstr$) >>>> PRINT restofInstr$ >>>> >>>> END FN >>>> >>>> But it is still printing out... >>>> stars ****************************, etc. >>>> >>>> Brian >>>> >>>> On Aug 24, 2005, at 6:21 AM, Steven J. Stratford wrote: >>>> >>>> >>>> >>>>> Debug your own code. You have an obvious typo, you can find it >>>>> yourself >>>>> without help from the list. >>>>> >>>>> --Steve >>>>> >>>>> >>>>> On 8/24/05 12:48 AM, "Brian Heibert" <bheibert@...> wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> Hi >>>>>> I forgot what was done to get PRINT to work again >>>>>> and I lost the file I had to start over using the example below >>>>>> >>>>>> Brian >>>>>> >>>>>>