Hola Carlos,
esta definicion que viene en
spsstool.net
me parece buena, espero que resuelva tu duda.
saludos,
Mónica
Introduction
Scripts are relatively new to SPSS. If you have never
used Visual Basic (VB) or Visual Basic for
Applications (VBA), you will find the learning curve
to be pretty steep. SPSS uses Sax Basic developed by
Sax Software. By adding Sax's Type Library to your
favourite VB development environment (for instance,
VB6, Excel or Access) you may develop your SPSS
scripts using those development environments.
Scripts allow the user to do things which would not be
possible using syntax, for instance formatting an
IGRAPH or having error handlers. Whenever possible, I
prefer to use syntax instead of scripts. As my
knowledge of syntax increased, I discovered ways to do
things which I previously thought only scripting could
do, one such example is exporting or creating a
variable which contains the value labels of another
variable.
Scripts can be called from syntax and vice versa.
However a major problem is that a script called from
anywhere in a syntax could be executed after the
syntax file has finished! The same problem exists when
a script calls a syntax, that syntax could only be
executed once the script has finished. Note that
Fabrizio Arosio has developed a script (see Utilities
below) which circumvents this "asynchronous" problem.
I tested it and it works, however, you must ensure
that there are no trailing spaces at the end of your
syntax (otherwise there is an infinite loop). See the
asynchronous page to find out more about this issue.
Starting with version 14, Python scripts run
synchronously with syntax files. The asynchronous
problem is thus resolved. See Self adjusting code for
examples.
Note that Scripting is not available in SPSS for Mac.
--- Carlos Malaca <carlos.malaca@...> wrote:
> Olá,
>
> Quais são os scripts?
>
> Ab
> Carlos
>
> 2008/4/29 lilian2679 <lilian2679@...>:
>
> >
> > Hola a todos,
> > recién me integré al grupo porque estoy
> aprendiendo de forma
> > autodidacta a usar los scripts del spss y a pesar
> de que he leído
> > los documentos de ayuda y el texto de SPSS
> training "Programming with
> > SPSS scripts", no todos mis scripts corren
> perfecto. (He tenido que
> > hacer varias modificaciones a los scripts que el
> SPSS trae, e incluso
> > a los de las páginas de Raynald (spsstools.net, y
> la versión
> > anterior) para ajustar a mis necesidades).
> >
> > Hoy día quiero resolver 2 cosas: unificar en un
> solo script 3
> > instrucciones que me funcionan muy bien si las
> planteo en 3 scripts
> > por separado, pero que al momento de querer
> pegarlas en uno solo me
> > dan varios errores.
> > La segunda cuestión es transformar estos scripts
> en autoscripts.
> > Seguí las instrucciones tal cual vienen en el
> texto "Programming with
> > SPSS scripts", pero me sale un error.
> >
> > Les agradezco mucho su ayuda!
> > Saludos,
> > Mónica
> >
> >
> >
>
All that is gold does not glitter,
Not all those who wander are lost;
________________________________________________________________________________\
____
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ