Needs verification but doing somthing like PRINT UNSING "#"; X, "SOMETHING" doesn’t tab over from X to the next stop before printing “SOMETHING”.
Turns out all further values should be printed in accordance with the mask and they should all be numeric, throwing a type error if not. See 1st comment.
Needs verification but doing somthing like `PRINT UNSING "#"; X, "SOMETHING"` doesn't tab over from X to the next stop before printing "SOMETHING".
Turns out all further values should be printed in accordance with the mask and they should all be numeric, throwing a type error if not. See 1st comment.
Tested in BASICA and found things I didn’t remember. Once PRINT USING is invoked all further variables on the PRINT line are required to be numbers, that are then formatted with the USING mask and spaced according to the mask.
The bwBASIC implementation doesn’t provide the correct functionality when compared to M$ BASIC. Other dialects?
Tested in `BASICA` and found things I didn't remember. Once `PRINT USING` is invoked all further variables on the `PRINT` line are required to be numbers, that are then formatted with the `USING` mask and spaced according to the mask.
The bwBASIC implementation doesn't provide the correct functionality when compared to M$ BASIC. Other dialects?
ChipMaster
changed title from PRINT comma after USING doesnt tab to PRINT USING with multiple values is not handled correctly2 years ago
Needs verification but doing somthing like
PRINT UNSING "#"; X, "SOMETHING"
doesn’t tab over from X to the next stop before printing “SOMETHING”.Turns out all further values should be printed in accordance with the mask and they should all be numeric, throwing a type error if not. See 1st comment.
Tested in
BASICA
and found things I didn’t remember. OncePRINT USING
is invoked all further variables on thePRINT
line are required to be numbers, that are then formatted with theUSING
mask and spaced according to the mask.The bwBASIC implementation doesn’t provide the correct functionality when compared to M$ BASIC. Other dialects?
PRINT comma after USING doesnt tabto PRINT USING with multiple values is not handled correctly 2 years ago