GLBasic forum

Main forum => GLBasic - en => Topic started by: Andrik on 2012-Jun-07

Title: proportional input
Post by: Andrik on 2012-Jun-07
Hi there,

The PRINT command has this nice parameter with which you can swith between fixed and proportional printing. Is there a way to get the same result with the INPUT command?
Proportional printing?

regards,
Andrik
Title: Re: proportional input
Post by: ampos on 2012-Jun-07
Yes, the same syntax that print.
Title: Re: proportional input
Post by: MrTAToad on 2012-Jun-07
It has been requested - so it's possible it may be added at some point in the future...
Title: Re: proportional input
Post by: ampos on 2012-Jun-07
LOL, it was requested by me long time ago and implemented by Gernot. Just use the same syntax as print for proportional input. Isn't it on the help file?
Title: Re: proportional input
Post by: MrTAToad on 2012-Jun-08
Ah yes - it works well :)

Shows how often I use INPUT$ :)
Title: Re: proportional input
Post by: Andrik on 2012-Jun-12
When I use the following command:
INPUT name$, 180,100,TRUE

I get the following error when compiling:
error : wrong number of aguments : "INPUT" called with 4 args. Required: 3 to 3

So there doesn't seem to be a proportional parameter for input?????

I use the free version of GLbasic, downloaded it a week ago, so I'm sure it's a current version.

any thoughts?
Title: Re: proportional input
Post by: kanonet on 2012-Jun-12
Check your version number again, there is a 4th parameter, i just tested it.
Title: Re: proportional input
Post by: Andrik on 2012-Jun-12
darn! you're right!! Seems I installed an old download, version 9 something.

well thanks for the help! Input look a lot better now  :o
Title: Re: proportional input
Post by: kanonet on 2012-Jun-12
If there is an old download link somewhere were it should not be, plz report this, so it can get fixed.