Hypercard conversion issue
Posted: Sun Oct 12, 2008 2:55 am
Here is a rather unusual Hypercard conversion issue.
I am working on converting a card that displays a trace. Values need to be shown along an axis. The tricky part is that the values vary depending on the trace. In Hypercard, the values were added as the trace was drawn. This was easy because text could be put directly on the card. Simply putting the text in a text field doesn't work because a separate text field must be provided for each point on the axis. The calculation of each value involves many lines of code. Once calculated, the value then needs to be sent to the correct text field. I can think of a number of ways to script this but none is particularly simple or elegant. The positions of the labels are fixed. Has anyone a suggestion for a simple way of scripting insertion of the values in the appropriate fields?
I am working on converting a card that displays a trace. Values need to be shown along an axis. The tricky part is that the values vary depending on the trace. In Hypercard, the values were added as the trace was drawn. This was easy because text could be put directly on the card. Simply putting the text in a text field doesn't work because a separate text field must be provided for each point on the axis. The calculation of each value involves many lines of code. Once calculated, the value then needs to be sent to the correct text field. I can think of a number of ways to script this but none is particularly simple or elegant. The positions of the labels are fixed. Has anyone a suggestion for a simple way of scripting insertion of the values in the appropriate fields?