I did a polar stereographic plot then tried to write a label by using the following command:
go mp_label 10, 35, 0, 0, 0.14 @SR"5-23 February 2018"
Then in the label, ferret displayed
"5-23 February 2018, with the first " in the label.
But if I do :
go mp_label 10, 35, 0, 0, 0.14 @SR5-23 February 2018, without "
then only 5-23 displayed in the label.
What should I do then?
Thank you!
Muyin
Marco,
I noticed that a trailing slash is ignored for in a string variable,
I guess the correct statement is that trailing slashes are ignored by the commands.
yes? define symbol ss "/abc/"
yes? show symbol ss
SS = "/abc/"
yes? define symbol ss /abc/
yes? show symbol ss
SS = "/abc"
That means that it was the "DEFINE SYMBOL" command which ignored the trailing backslash.
Furthermore,
yes? define symbol ss "/abc/"
yes? say ($ss)
!-> MESSAGE/CONTINUE /abc
/abc
yes? say "($ss)"
!-> MESSAGE/CONTINUE "/abc/"
/abc/
In this case, it was the SAY command which ignored the trailing backslash.
So, to avoid the trailing slash from being interpreted by the command, you quote the string.
Cheers,
Ryo