This is on universe 10.0.10 on windows xp.
If you have stacked data, it will be executed after an EXECUTE, so:
001 DATA 'WHO'
002 EXECUTE 'SELECT VOC'
Will select the voc to list 0, then execute WHO.
If the command in EXECUTE doesn't yield a list, then the data isn't
executed, so
001 DATA 'WHO'
002 EXECUTE 'GET-LIST VOCCRAP' ;* assuming you don't have a list named
voccrap
003 INPUT A
004 CRT A
The GET-LIST doesn't return a list, so the WHO stays stacked and gets
picked up by the INPUT later.

Now here's the problem/question.
Suppose you have a basic program that creates a list, for example:
001 L='A':@AM:'B'
002 SELECTN L TO 0
Saved and cataloged as MY.LIST.PROG
And change the test program above to
001 DATA 'WHO'
002 EXECUTE 'MY.LIST.PROG'
003 CRT @SELECTED
The WHO does not execute, even though the basic program creates a list.
You can fiddle with the VOC catalog entries adding 'K' to attribute 4 so
that you can see the list created by running the program from TCL.
So the question is, what magic does a basic program need to do so that
it can create a list and participate in the serial execution of stacked
data?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/258 - Release Date:
2/13/2006
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to