View previous topic :: View next topic
|
Author |
Message |
sprikitik
New User
Joined: 29 Jan 2007 Posts: 61 Location: Makati City, Philippines
|
|
|
|
Hi,
My macro code is: ISREDIT CHANGE ALL "&" "|"
I'm getting a INVALID SYMBOLIC VARIABLE error.
Can anybody please let me know how to perform this?
Thanks! |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
1.Where are you getting the error?
2.Where are executing this Macro?
3.What are you trying to achieve in this macro?
4.If possible paste the erroed code wiithin code tags |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
'&' characters are a PITA in edit macro change and find commands.
Use
Code: |
amp = c2x('&')
"isredit c x'"amp"' '|' all" |
|
|
Back to top |
|
|
sprikitik
New User
Joined: 29 Jan 2007 Posts: 61 Location: Makati City, Philippines
|
|
|
|
my code is :
Code: |
ISREDIT MACRO
ISREDIT CHANGE '&' '|' ALL
ISREDIT FIND ALL "|"
|
try to execute the macro inside a pds member |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
when one has to deal with an ampersand - &
i always use the hex code x'??'.
then there is little problem.
If you don't know what the hex code for an & is, type one and then turn HEX ON.
and sprikitik, what is your last post about?
you have already been told, ampersands are problematic within ISREDIT Macro's. |
|
Back to top |
|
|
|