|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stata.sfi.Macro
public final class Macro
Routines for interacting with a Stata macro.
Method Summary | |
---|---|
static String |
getGlobal(String name)
Get the contents of a global macro. |
static String |
getGlobalSafe(String name)
Get the contents of a global macro without returning null. |
static String |
getLocal(String name)
Get the contents of a local macro. |
static String |
getLocalSafe(String name)
Get the contents of a local macro without returning null. |
static int |
setGlobal(String name,
String value)
Set the value of a global macro. |
static int |
setLocal(String name,
String value)
Set the value of a local macro. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getLocal(String name)
name
- Name of the macro.
public static String getLocalSafe(String name)
name
- Name of the macro.
public static String getGlobal(String name)
name
- Name of the macro.
public static String getGlobalSafe(String name)
name
- Name of the macro.
public static int setLocal(String name, String value)
name
- Name of the macro.value
- Value to store in the macro.
public static int setGlobal(String name, String value)
name
- Name of the macro.value
- Value to store in the macro.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |