Trace actually runs the text file, which makes things interesting, as you have found.
--- Kayza Kleinman <[EMAIL PROTECTED]> wrote:
---------------------------------
The unique names did it, although I'm not really sure why. I have twomodules that
are
different AFTER 8 letters, and they both run justfine. Besides why would the trace
work, but not
running normally?
Bit, thanks for the idea, anyway. It made the difference.
Lawrence Lustig wrote:
If I dump that block of code into a cmd file, it works perfectly.
I noticed that you are running from a codelocked multi-block APX file. Makesure you
check for
program or menu blocks that are not unique in the firsteight characters. You cannot,
for
instance, have a program and menu block withthe same name.Try copying your source
file, and
removing all code in the called programblock, then putting a single PAUSE or WRITE
statement in
there andre-codelocking. Does it execute? If not, the problem is calling the block.
If it does
execute, then the problem is within your code block.Next, put the text of the code
block into a
separate file, without otherblocks, and try RStyling it. Any better results? If
nothing is
revealed, trycodelocking this file as a stand-alone binary file. Does it run? If
not,there is
something in your codeblock that is causing an alergic reaction toCODELOCK. Check for
odd line
continuations, tab characters, strings continuingacross line breaks, ampersand and
dotted variable
mix-ups, particularly"clever" macro substitutions, and so on.--Larry
=====
Albert Berry
Management Consultant
RR2 - 1252 Ponderosa Drive
Sparwood BC, V0B 2G2
Canada
(250) 425-5806
(250) 425-7259
(708) 575-3952 (fax)
[EMAIL PROTECTED]