Project

General

Profile

Bug #29

Can't use At more than once in a line.

Added by Brian Flanagan about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/19/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Example:

This works:
Print At(13,13)+"Success"
Print At(13,14)+"Success"

This doesn't:
Print At(13,13)+"Success"+At(13,14)+"Fail"

It fails at the parentheses after the 2nd "At"
...causing the following errors:

main.aoz:2:28: error: non dimensionned array
main.aoz:2:28: error: type mismatch
main.aoz:2:28: warning: variable used without been declared

#1

Updated by Anonymous about 4 years ago

Try this:-

Print At(13,13),"Success", At(13,14),"Fail"

That works!

#2

Updated by Francois Lionet about 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Lionet
  • Target version set to 0.9.3

Fixed!

#3

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed
Success
Success
Success
Fail

All ok.

Also available in: Atom PDF