[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Creating a local macro with a colon

From   "Adrian Sayers" <>
Subject   st: Creating a local macro with a colon
Date   Mon, 21 Apr 2008 15:39:08 +0100

Dear all,

I am having trouble creating a macro with a colon.

I have just started working in two locations and in essence the server
name is a little different in each place.

in essence i want to delcare a macro which is `R:' followed by a string

like this:

local R: "\\\myfolder"

di "`R:'"

however i get this error message

"\\\myfolder not allowed

I know that local macros have extended functions which use colons is
there any way of getting round this?
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index