Author Topic: unable to assign new address  (Read 535 times)

0 Members and 1 Guest are viewing this topic.

Brian Alvarez

  • Guest
unable to assign new address
« on: August 15, 2020, 12:19:54 PM »

Code: [Select]
ERROR: ERROR: unable to assign new address
WORD: b
IN: isequate
LINE: 79743
FILE: "main source

In this line:

Code: [Select]
@b = (STRPTR(thisequ) + 1)
b is declared like this:

Code: [Select]
   BYTE PTR b
and thisequ is declared like this:

Code: [Select]
   STRING thisequ = PEEK$(sd.dwd(sd.m(lindex), (9)), sd.wrd(sd.m(lindex), (13)))
 The code that PluriBASIC generated for Oxygen seem correct, but it is very huge and verbose. Im not sure if Oxygen can handle such monster code.

Brian Alvarez

  • Guest
Re: unable to assign new address
« Reply #1 on: August 15, 2020, 12:40:06 PM »

Disregard, it was my mistake. I was declaring a MACRO variable b as long I and forgot to make it macro-temporary.