Blank ScriptTracer after Read from file

13 views
Skip to first unread message

andre.tremblay

unread,
Feb 17, 2019, 9:57:17 PM2/17/19
to SuperCard Discussion
Hello, 

I am having this unexpected issue with ScripTracer. 

I had this happening on two different computers running OS X High Sierra and Yosemite with SC 4.81 respectively. 

On trace, the ScriptTracer window will show blank spaces after :

read from file HFSFilePAth until end


ScriptTracer still works but shows blank lines!

Anyone else is having a similar issue?

Any suggestion?

Regards


codegreen

unread,
Feb 18, 2019, 12:46:30 PM2/18/19
to SuperCard Discussion
It appears you've stumbled upon an Original Sin here... ;-)

Apparently the code which parses out script lines for display in the Tracer was not designed to expect an end token in the read command, and goes totally off into the weeds.

Most people use eof there instead of end (I wasn't even aware of the alternative syntax until now). If you change your script to until eof instead, the display glitch should go away.

I'll get a fix into the next beta.

Thanks!
-Mark

andre.tremblay

unread,
Feb 18, 2019, 5:57:11 PM2/18/19
to SuperCard Discussion

Hello Mark, 


It appears you've stumbled upon an Original Sin here... ;-)

Well, it appears it is a script that was imported from an HyperCard project. 
 
Apparently the code which parses out script lines for display in the Tracer was not designed to expect an end token in the read command, and goes totally off into the weeds.

Most people use eof there instead of end (I wasn't even aware of the alternative syntax until now). If you change your script to until eof instead, the display glitch should go away.

Well after a general verification of the scripts it appear that this was an only occurence, I didn't notice it, in all other occurrences the correct eof is used 

I'll get a fix into the next beta.

Thank you! 

andre.tremblay

unread,
Feb 20, 2019, 10:24:21 AM2/20/19
to SuperCard Discussion
Hello Mark, 

It appears you've stumbled upon an Original Sin here... ;-)

Here is an extract of the original documentation for the read command:


Regards

- André
Reply all
Reply to author
Forward
0 new messages