I am just getting to grips with assembler (trying) and would like to know what purpose does angled brackets serve? example

.data
cf CHOOSEFONT <>
cfm CHARFORMAT2 <>
pf PARAFORMAT <>
lpToolInfo TOOLINFO <>
myLogFont LOGFONT <>

terrible sorry if the question is too basic.
Posted on 2003-04-18 00:34:00 by bigrichlegend
In MASM the angle brackets are a place holder for structure data - the default values are used (or zero if there is no default). Let me give an example:
; define the structure type and default values

sTEMP STRUCT
abc DWORD 50
xyz DWORD 300
sTEMP ENDS


; create some structures:


struct1 sTEMP <> ; this is the same as "struct1 DWORD 50, 300"
struct2 sTEMP <22,> ; this is the same as "struct1 DWORD 22, 300"
IIRC, I don't think angle brackets are used in FASM - moved thread.
Posted on 2003-04-18 00:44:03 by bitRAKE
Many thanks BitRake. I really appreciated your prompt and informative reply
Posted on 2003-04-18 05:39:06 by bigrichlegend
cf SomeThing <>


means that the same of

cf has the size in bytes of SomeThing

its the same of making zeros

for example if SomeThing is 4 bytes

cf db 0,0,0,0


look here:

http://194.65.3.199/win32asm/MASMstruct2NASM.html
Posted on 2003-04-18 07:32:28 by Nguga