Bug #407

Print Using improperly handles ; or , at the end of the line.

Added by Brian Flanagan about 3 years ago. Updated over 2 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
2:00 h
Affected version:


AOZ is apparently incorrectly assumes that either the ; or , indicates another variable name is to follow.
Hence, the "undefined" errors. Example:

#manifest: "pc"
#splashScreen: false
#speed: "safe"
#fps: false

Screen Open 0,640,400,8,Hires

qty=127 : rate#=12.53
Print Using "### pieces at ";qty;
Print Using "##.## per unit.  ";rate#,
Print Using "Total cost: ####.##";qty*rate#
Print "Line 2"

NOTE: "Line 2" should be on the 2nd line of the display. Everything else should be on the first line.

There should be a larger spacing before "Total cost" due to the comma.


Updated by Brian Flanagan about 3 years ago

  • Assignee set to AOZ Studio Team
  • Priority changed from Normal to High
  • Estimated time set to 2:00 h
  • Affected version changed from to Beta RC2

Re-tested in Beta RC2. This is still a problem.


Updated by Francois Lionet almost 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from AOZ Studio Team to Francois Lionet



Updated by Brian Flanagan over 2 years ago

  • Status changed from Resolved to Feedback
  • Affected version changed from Beta RC2 to 1.0.0 (B5)

Only partially fixed in version 1.0.0 (B5).

Semicolon works at end of line now.

Comma does NOT. It causes a type mismatch error.


Updated by Brian Flanagan over 2 years ago

  • Affected version changed from 1.0.0 (B5) to 1.0.0 (B6a)

Comma at end of Print using still doesn't work in 1.0.0 (B6a).

It causes type mismatch error. Here's another example.

Print Using "###";Test,
Print " <<<"

The above SHOULD result in:

123 <<<

...but instead, fails.


Updated by Francois Lionet over 2 years ago

  • Status changed from Feedback to Resolved

Fixed, and also the lack of dot when you did Print Using "##.## per unit. ";rate#, (it was taking the second dot in account instead of the first).
The example bnow prints fine on one line. :)

Also available in: Atom PDF