Project

General

Profile

Bug #55

Amreg() command doesnt compile

Added by Anonymous about 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Affected version:

Description

Any command with Amreg(n) produces this error:-

error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , )

eg :-

If Amreg(13)<0 xor Amreg(14)<0

If A>95 and A<100 and Amreg(4+P)=0

If Amreg(7-P)>0 and Y Bob(P)<140

etc..


Related issues

Related to AOZ Studio Beta - Bug #1: if Amreg(13) < 0Closed01/17/2020Francois Lionet

Actions
#1

Updated by Jason Wroe about 4 years ago

Jason Wroe

#2

Updated by Jason Wroe about 4 years ago

This still seems to be happening in v9.3.1?

#3

Updated by Baptiste Pillot about 4 years ago

  • Related to Bug #1: if Amreg(13) < 0 added
#4

Updated by Baptiste Pillot about 4 years ago

    main.aoz:2:12: error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , )
    main.aoz:2:24: error: syntax error
    main.aoz:1:1: Compiler error: crash during compilation: pass: 1
    typeerror: cannot read property 'charat' of undefined
    Internal error

    Error during compilation
    AOZ Transpiler Version 0.9.3.1 - 21/01/2020
    By Francois 'Amos' Lionet (c) AOZ Studio 2019
    Website: https://aoz.studio
    Support the project on Patreon: http://www.patreon.com/francoislionet
    ---------------------------------------------------------------------
    PATH->Z:/home/amos2/compiler/0.9.3.1/languages
    Removing directory: /home/amos2/ide/input/tickleman/55/html
    Compiling /home/amos2/ide/input/tickleman/55, emulation: PC, speed: fast.
    First pass...
    main.aoz:2:12: error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , )
    main.aoz:2:24: error: syntax error
    main.aoz:1:1: Compiler error: crash during compilation: pass: 1
    cannot read property 'charat' of undefined
    typeerror: cannot read property 'charat' of undefined
    at firstpass (c:\snapshot\compiler\compiler.js)
    at object.compile (c:\snapshot\compiler\compiler.js)
    at compile (c:\snapshot\compiler\aoz.js)
    at aoz (c:\snapshot\compiler\aoz.js)
    at object. (c:\snapshot\compiler\aoz.js)
    at module._compile (pkg/prelude/bootstrap.js:1261:22)
    at object.module._extensions..js (internal/modules/cjs/loader.js:993:10)
    at module.load (internal/modules/cjs/loader.js:813:32)
    at function.module._load (internal/modules/cjs/loader.js:725:14)
    at function.module.runmain (pkg/prelude/bootstrap.js:1316:12)
    Internal error
    Task failed, no code generated... 
#5

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.2

Fixed!

#6

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed

I do not know what my test program is supposed to display... it displays nothing, but : it compiles, and runs without error.

So, it's ok with me.

Also available in: Atom PDF