To Quote [EMAIL PROTECTED] :
>
> On Fri, 20 Jan 95 12:07:49 MET, Allan Skillman said:
> > BTW does anyone out there know what the hell the USING keyword does in SAM
> > BASIC or is it just a leftover
>
> I have looked it up and done some experiments and my conclusion is that
> it does nothing whatsoever. Perhaps it is used in Master BASIC, or was
> intended to be used in Sam BASIC but had to be left out.
>
> I presume it would have been for instructions of the form
>
> PRINT USING "This is my $#.##";2/100.
>
> imc
>
>From what I remember this is the case. It was going to be in sam basic, but
like the DUMP command got left out because of space.
Dr A did have a simular command in MasterBASIC, but he called it USING$,
and from what I remember you used some form of formatting string so that
USING$("$#.##",54.6544) would give you the string "$54.65" or something
like that.
Since you would only actually use the formatting for a string, this seems
just as useful, unless anyone can think of another case.
Tim
--
Tim Paveley - University of Southampton
Sam Coupe Web Pages:
http://whig.ecs.soton.ac.uk/~tsp93/Coupe/home.html