Project

General

Profile

Bug #63

Get Sprite now compiles, but locks up AOZ application.

Added by Brian Flanagan over 4 years ago. Updated about 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

Related to AOZ Studio Beta - Bug #33: Get Sprite returns Internal ErrorClosed01/19/2020Francois Lionet

Actions
#1

Updated by Baptiste Pillot over 4 years ago

  • Assignee set to Francois Lionet
#2

Updated by Baptiste Pillot about 4 years ago

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

Updated by Baptiste Pillot about 4 years ago

  • Description updated (diff)
#5

Updated by Baptiste Pillot about 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)
#6

Updated by Francois Lionet about 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
#7

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed

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

Also available in: Atom PDF