Statalist The Stata Listserver

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

st: Problem with graph file

From   Jean Bouyer <>
Subject   st: Problem with graph file
Date   Sun, 18 Mar 2007 19:23:46 +0100

Dear all,

In a loop, I use a local integer variable x that goes from 1 to k. In some commands within the loop, I need using the value x-1. I succeed in creating another local variable : local x1=`x'-1. But I wonder why it didn't work when I used directly ``x'-1'. What is wrong in this syntax ?


Jean Bouyer

* For searches and help try:

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