|
Next Meeting: Sat, TBD
Meeting Directions
|
Navigation:
20 Most Recent Documents
Search Archives
Index by date,
title,
author,
category.
|
|
Features:
Mr. Know-It-All
Ink
Download!
|
|
|
|
|
|
|
SCOUG:
Home
Email Lists
SIGs (Internet, General Interest, Programming, Network, more..)
Online Chats
Business
Past Presentations
Credits
Submissions
Contact SCOUG
Copyright SCOUG
|
|
Pictures from Sept. 1999
|
|
The views expressed in articles on this site are those of their authors.
|
SCOUG was there!
|
|
Copyright 1998-2024, Southern California OS/2 User Group.
ALL RIGHTS RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the
Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of
International Business Machines Corporation.
All other trademarks remain the property of their respective owners.
The Southern California OS/2 User Group
USA
|
|
|
SCOUG-Programming Mailing List Archives
Return to [ 10 |
February |
2000 ]
<< Previous Message <<
In <38A304B3.F95A3FAB@sundialsystems.com>, on 02/10/00
at 10:35 AM, Rollin White said:
>For example, if I wanted to replace abc with the # character, or def with
>the colon character. Any of the obvious syntaxes I try generate errors:
>#define abc #
>#define abc \#
>#define abc ##
>#define def :
>#define def \:
>#define def #:
You can only do this with strings:
#define abc "#"
Then you need to use the stringizing and tokenizing forms (i.e. ##) of
replacement to get them into place. Note that there are limits with what
you can accomplish even with this. Often you need to define an inner
macro to build up the strings.
Steven
--
----------------------------------------------------------------
"Steven Levine" MR2/ICE 2.06 #10183 Warp4/FP11
----------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 10 |
February |
2000 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|
|