Project

General

Profile

Actions

Bug #63

closed

Get Sprite now compiles, but locks up AOZ application.

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

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

0%

Estimated time:
Affected version:

Description

Example: Help_66, line 118 from AMOSPro_Examples disk.

This example compiles, however, the AOZ application stops execution at the Get Sprite command.

Cls 0 : Pen 14 : Paper 0 : Print "*" : Get Sprite 1,0,0 To 7,7 : Cls 0

Commenting the Get Sprite command on line 118 allows the program to continue.

Cls 0 : Pen 14 : Paper 0 : Print "*"
' Get Sprite 1,0,0 To 7,7
Cls 0

Files

Clipboarder.2020.01.24-004.png (370 KB) Clipboarder.2020.01.24-004.png Francois Lionet, 01/24/2020 07:07 AM

Related issues 1 (0 open1 closed)

Related to AOZ Studio V1 (TBD bugs clean/-> V2) - Bug #33: Get Sprite returns Internal ErrorClosedFrancois Lionet01/19/2020

Actions
Actions #1

Updated by Baptiste Pillot over 4 years ago

  • Assignee set to Francois Lionet
Actions #2

Updated by Baptiste Pillot over 4 years ago

  • Related to Bug #33: Get Sprite returns Internal Error added
Actions #3

Updated by Baptiste Pillot over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Baptiste Pillot over 4 years ago

Confirmed, and comparable notice into #33 :

Actions #5

Updated by Baptiste Pillot over 4 years ago

The message into Chrome's console is :

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at Errors.getErrorFromNumber (errors.js:275)
    at doUpdate (aoz.js:578)

Firefox tells something else :

TypeError: message is undefined (error.js:275:13)
Actions #6

Updated by Francois Lionet over 4 years ago

This works in V0.9.3.2...

#manifest:"amiga"

Cls 0 : Pen 14 : Paper 0 : Print "*" : Get Sprite 1,0,0 To 16, 16: Cls 0

For I = 0 To 1000
    Paste Bob Rnd( 320 ), Rnd( 256 ), 1
Next

Wait Key
Actions #7

Updated by Baptiste Pillot over 4 years ago

  • Status changed from Resolved to Closed

Works with "no manifest" (PC-default) too :)

Actions

Also available in: Atom PDF