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

# Test t1690: Attributes of files

Tested procedures
  ExpEval

Included file 1 t1690.i.asm

      This file is 29 bytes long.

Source & expected listing t1690.htm.lst
  `| | EUROASM DUMPWIDTH=16 | |t1690 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF |[BIN] |[BIN] | |;; File "t1690.i.asm" is generated on the fly, it is younger than test source "t1690.htm". |0000:FFFF | DW FILETIME# "t1690.i.asm" > FILETIME# "t1690.bin" ; Expected value is true=-1. | |;; | |;; When a filename is subject of attribute operator, it must be in double quotes, | |;; otherwise it is treated like a nonfile object and FILESIZE# returns 0. |0002:1D00 | DW FILESIZE# "t1690.i.asm" ; Expected filesize is 29=0x001D bytes. | |;; Filename in apostrophes is treated like a string rather than a file. |0004:0000 | DW FILESIZE# 't1690.i.asm' ; 0 expected. |0006: | DW FILESIZE# t1690.i.asm ; E6601 expected. |### E6601 Symbol "t1690.i.asm" mentioned at "t1690.htm"{62} was not found. | | ENDPROGRAM t1690`

Expected messages t1690.out
  `I0180 Assembling source file "t1690.htm". I0270 Assembling source "t1690". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t1690". "t1690.htm"{52} I0510 Assembling program pass 1. "t1690.htm"{52} I0510 Assembling program pass 2. "t1690.htm"{52} I0530 Assembling program pass 3 - final. "t1690.htm"{52} E6601 Symbol "t1690.i.asm" mentioned at "t1690.htm"{62} was not found. "t1690.htm"{62} I0660 16bit TINY BIN file "t1690.bin" created, size=6. "t1690.htm"{64} I0650 Program "t1690" assembled in 3 passes with errorlevel 6. "t1690.htm"{64} I0750 Source "t1690" (84 lines) assembled in 2 passes with errorlevel 6. I0860 Listing file "t1690.htm.lst" created, size=986. I0990 EuroAssembler terminated with errorlevel 6.`

▲Back to the top▲