News:

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

using masm32 lib

Started by Jimg, July 29, 2005, 03:33:21 PM

Previous topic - Next topic

Jimg

Or we could skip the loop in a loop and any dependency on macros.asm by just using instr and substr:

uselibs MACRO args:VARARG
LOCAL var,st,tp,lbl
tp = 0
:lbl
st = tp + 1
tp instr st,<args, >,<,>
if tp eq 0
  exitm
endif
var substr <args>,st,tp-st
%include \\masm32\\include\\var.inc
%includelib \\masm32\\lib\\var.lib
goto lbl
ENDM