News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

declaring a table

Started by Marko, February 18, 2011, 03:35:42 PM

Previous topic - Next topic

Marko

hi all,
how can I declare something like this in HLA:


looktable BYTE 65 DUP (' ')
             BYTE 'abcdefghijklmnopqrstuvwxyz', 6 DUP (' ')
             BYTE 'abcdefghijklmnopqrstuvwxyz', 133 DUP (' ')




EDIT : it is ok I found the array.lookuptable !!!!

Marko

Well,
at the end of the day i choosed this solution


static
myTable : byte;@nostorage
d1 : byte[65]:= 65 dup[' '];
  byte "abcdefghijklmnopqrstuvwxyz";
d2 : byte[6]:= 6 dup [' '];
  byte "abcdefghijklmnopqrstuvwxyz";
d3 : byte[133]:= 133 dup [' '];