HighDots Forums  

another <pre> problem

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss another <pre> problem in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alan Illeman
 
Posts: n/a

Default another <pre> problem - 08-10-2004 , 10:13 AM






This is one of several macros I wish to display:

<PRE CLASS="special macro>
;;
;; Reverse argument list
;;
reverse_args MACRO arglist:req
local txt, arg
txt textequ <>
% FOR arg, <arglist>
txt CATSTR <arg>, <,>, txt
ENDM
txt SUBSTR txt, 1, @SizeStr( %txt ) - 1
txt CATSTR <!<>, txt, <!>>
EXITM txt
ENDM

;;
;; Call Windows API Function
;;
ApiCall MACRO thecall:req, arglist:vararg
local count

count = 0

% FOR argn, reverse_args( <arglist> )
if (type argn) eq 1 ;; if byte label
push offset argn ;; push address
else
push argn
endif
count = count + 4
ENDM

txt TEXTEQU <>
txt CATSTR <_imp__>, <thecall>, <@>, %(count)

txt2 TEXTEQU <>
txt2 CATSTR <_imp__>, <thecall>, <@>, %(count), <WORD>

IFNDEF <txt2>
extern txt2 ;; define it !
ENDIF

call dword ptr [txt]
ENDM

</PRE>

Unfortunately, many of the '<' and '>' prevent it
from displaying properly. Can anyone offer advice,
rather have me resort to replacing them with the
respective &lt; and &gt; ?



Reply With Quote
  #2  
Old   
jmm-list-gn
 
Posts: n/a

Default Re: another <pre> problem - 08-10-2004 , 12:26 PM






Alan Illeman wrote:
Quote:
Unfortunately, many of the '<' and '>' prevent it
from displaying properly. Can anyone offer advice,
rather have me resort to replacing them with the
respective &lt; and > ?

That is your only option. That is how you display < and > in HTML.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.