| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t2383: Scope of current origin $

Description
  Special dynamic symbol $ cannot be explicitly or implicitely made global.
Tested procedures
  StmCheckLabel$

Source & expected listing t2383.htm.lst
  `| |EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=16 | |t2383 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] |0000: |; Special symbol $ cannot be scoped. W2711, E6637, E6638 expected. |0004: |$ EQU $+4 |0008: |$: EQU $+4 |000C: |$:: EQU $+4 |## W2711 Special dynamic symbol $ cannot be made global. |0010: |$ EQU $:+4 |0014: |$ EQU $::+4 |## W2711 Special dynamic symbol $ cannot be made global. |0014: |$ |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0014: |$: |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0014: |$:: |### E6638 Special dynamic symbol "$" cannot be declared global. |0014:F0 |$ LOCK |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0015:F0 |$: LOCK |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0016:F0 |$:: LOCK |### E6638 Special dynamic symbol "$" cannot be declared global. |0017:90 |$ NOP |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0018:90 |$: NOP |### E6637 Special dynamic symbol "$" can be defined with EQU only. |0019:90 |$:: NOP |### E6638 Special dynamic symbol "$" cannot be declared global. | |GLOBAL $ |### E6638 Special dynamic symbol "$" cannot be declared global. | |PUBLIC $ |### E6638 Special dynamic symbol "$" cannot be declared global. | |EXTERN $ |### E6638 Special dynamic symbol "$" cannot be declared global. | |ENDPROGRAM t2383`

Expected messages t2383.out
  `I0180 Assembling source file "t2383.htm". I0270 Assembling source "t2383". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2383". "t2383.htm"{52} I0510 Assembling program pass 1. "t2383.htm"{52} W2711 Special dynamic symbol $ cannot be made global. "t2383.htm"{57} W2711 Special dynamic symbol $ cannot be made global. "t2383.htm"{60} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{62} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{64} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{66} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{68} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{70} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{72} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{74} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{76} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{78} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{80} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{82} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{84} I0530 Assembling program pass 2 - final. "t2383.htm"{52} W2711 Special dynamic symbol $ cannot be made global. "t2383.htm"{57} W2711 Special dynamic symbol $ cannot be made global. "t2383.htm"{60} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{62} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{64} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{66} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{68} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{70} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{72} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{74} E6637 Special dynamic symbol "$" can be defined with EQU only. "t2383.htm"{76} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{78} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{80} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{82} E6638 Special dynamic symbol "$" cannot be declared global. "t2383.htm"{84} I0660 16bit TINY BIN file "t2383.bin" created, size=26. "t2383.htm"{86} I0650 Program "t2383" assembled in 2 passes with errorlevel 6. "t2383.htm"{86} I0750 Source "t2383" (132 lines) assembled in 2 passes with errorlevel 6. I0860 Listing file "t2383.htm.lst" created, size=1652. I0990 EuroAssembler terminated with errorlevel 6.`

▲Back to the top▲