|
Post by darowyn on Nov 9, 2010 4:49:18 GMT -5
I'm hoping that there is a really simple answer to this problem, but a bit of background first. Over 20 years ago I wrote a GFA basic program (on Atari) to design and manufacture expansion chambers for two-stroke race bikes. It made me a living for seven years. Having discovered that GFA basic can now be used on PC, I thought that I would try to upgrade my original program. The Atari printer is long dead, so what was doing is copying the code manually from Atari to PC. Basically that does not work well, so I've decided to start from scratch so as to be able to use the Form design aspects of the new version. But I have found a very silly problem. There are several pages where I need to enter Engine parameters into the program. When I set up a series of INPUT lines with instructions, e.g. INPUT "Enter Peak RPM", rpm The text for the first INPUT does not show. The input box does, but with no text. The others come up normally. I have tried putting a blank "PRINT" statement first, and moving the starting cursor position with either PRINTAT or an H and V position. That does not show either. The only way I have found of showing "Enter Peak RPM" is to put a blank INPUT statement first, which is not really satisfactory. So, what am I doing wrong? I hope someone can help. Cheers Dave
|
|
|
Post by matthew on Nov 9, 2010 9:24:14 GMT -5
Are you using Basic4GL or GFA BASIC? If you are using GFA BASIC is it the version found here?
|
|
|
Post by darowyn on Nov 9, 2010 12:00:59 GMT -5
I'm using GFA Basic, version 2.3, build 1166. I downloaded it only a couple of weeks ago. It's running on Windows XP SP3. Cheers Dave
|
|
|
Post by matthew on Nov 9, 2010 12:33:12 GMT -5
Try the following code & see whether all the text appears or not.
OpenW 1 Local rpm01%, rpm02%, rpm03% Print AT(40, 20); Input "Enter Peak RPM: " , rpm01 Print AT(40, 22); Input "Enter Peak RPM: " , rpm02 Print AT(40, 24); Input "Enter Peak RPM: " , rpm03 CloseW # 1
|
|
|
Post by Wayne Rayner on Nov 9, 2010 19:54:00 GMT -5
Why would a person who uses GFA Basic use the Basic4GL forums for help and secondly since this isn't a Basic4GL topic shouldn't it be in the other languages thread?
|
|
|
Post by darowyn on Nov 10, 2010 6:03:15 GMT -5
Perhaps because this is where the search engines lead me when looking for a GFA forum. Perhaps because I've never heard of 4GL before now, and perhaps assumed that it was a modern descendent of GFA. Perhaps because I was hoping that 4GL might be a useful alternative if GFA cannot be made to do what I need now. I need good trig functions. the ability to print cone developments to actual size (I used to use a flatbed plotter for this originally) and a solid structure to allow fault finding and development. What do you think? Thanks Matthew, your code works in stand alone, but there is a bit of work to do to make it work in context. Cheers Dave
|
|
|
Post by matthew on Nov 10, 2010 6:39:28 GMT -5
Don't worry Wayne I'm not that obsessed about threads being in the correct place. Dave you might be interested in the fact that one of the other moderators on this forum uses GFA BASIC regularly & has a forum here.
|
|