The MASM Forum
Projects => ObjAsm => Topic started by: HSE on November 21, 2021, 11:02:00 AM
-
Hi Biterider!
Is working this line in your development version: DefineVariable xName, CHR, 32 dup (0)
Thanks, HSE.
-
Hello HSE
I have an issue here with the spacing between "dup" and "(".
Write it this way
DefineVariable xName, CHR, 32 dup(0)
Biterider
-
Hi HSE
To fix the issue replace lines 1180-1190 form objects.inc with:
$$sz4 textequ <$Lower($$sz3)> ;;Convert to lowercase
??Pos1 = @InStr(1, %$$sz4, < dup>)
if ??Pos1 gt 0
if @InStr(1, %$$sz4, <{>) gt 0
$$sz1 $$sz2 @CatStr(@SubStr(%$$sz3, 1, ??Pos1), < dup({})>)
else
$$sz1 $$sz2 @CatStr(@SubStr(%$$sz3, 1, ??Pos1), < dup(?)>)
endif
else
$$sz1 $$sz2 ?
endif
That should make it.
Biterider
-
Hi Biterider!!
Look like that work :thumbsup:
Now I can see other problem:Error A2153: Initializer must be a string or single itemStill I don't know where that came from.
Nothing of this happen with a more stable version (stable version + some additions).
Thanks, HSE.
-
Hi HSE
Still I don't know where that came from.
Without the source, there is not much I can do to find the problem :sad:
Maybe revert the change and eliminate the space between "dup" and "(" and check if the error message is gone.
Biterider
-
Hi Biterider!
UASM still is making bad error reports. AsmC show problem in a second :biggrin:
Nothing related with dup :thumbsup:.
There is a compatibility problem with union added in DEF_COMBOBOX structure.
Thanks, HSE.