Well, there is no such statement as in...@. There is the

INPUT @(X,Y):REPLY

syntax however.

So that document is a bit 'off kilter' imo.  It looks like it was
written by people who just came back from the pub ;-).

Dan

On Jan 27, 2:23 am, Williams <[email protected]> wrote:
> Thanks Dan.
>
> You can download the said manual from this web 
> address: http://www.jbase.com/support/documentation.html  The document name 
> is PRM.pdf.
>
> Meanwhile, let me work on your proposed solution and revert.
>
> Williams
>
> ________________________________
> From: danielk <[email protected]>
> To: jBASE <[email protected]>
> Sent: Tuesday, 27 January, 2009 0:06:04
> Subject: Re: INPUT STATEMENT
>
> I don't know what documentation you are looking at but, if I
> understand you correctly, I think you need to do something like this:
>
> PROMPT ''
> CRT @(-1)
> promptPositionAndText = @(1,3):'Enter number:'
> inputPosition = @(15,3):@(-4)
> CRT promptPositionAndText:
> CRT inputPosition:
> INPUT data,10:_
> CRT inputPosition:data"R#10":
> CRT
>
> Dan
>
> "Beware of bugs in the above code; I have only proved it correct, not
> tried it." -- Donald E. Knuth
>
> On Jan 26, 9:56 am, Williams <[email protected]> wrote:
>
> > jbase manual explained that the INPUT@ statement can be used such that 
> > numeric input could be formatted on the screen.  I have tried to do this 
> > but has failed so far.  How can i format the input on the screen as soon as 
> > the user finished inputing the data? I have tried something like this but 
> > failed:
> >  
> > INPUT @(2,5) : USER.INPUT "£"
> >  
> > This is an extract from the jbase documentation: "Numeric values in 
> > variable assignments, expressions or CRT, PRINT and INPUT@ statements can 
> > be formatted using format strings. ThisCOMMAND SYNTAXVARIABLE 
> > "{f}{£}{,}{d}{fieldwidth}"
> >  
> > Thanks
>
> >  
> > Williams
> > will produce a formatted output display of the raw data string. Multiple 
> > format strings can be applied to a variable expression, and if used, will 
> > be applied from left to right. The syntax of
> > this construct is as follows:
--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to