Re: interesting discovery (trying to get record labels as strings)
Re: interesting discovery (trying to get record labels as strings)
- Subject: Re: interesting discovery (trying to get record labels as strings)
- From: email@hidden (Michael Sullivan)
- Date: Wed, 5 Dec 2001 14:55:10 -0500
- Organization: Business Card Express of Connecticut
Yesterday, I wrote:
>
> {{+class usrf;:{"hello", "goodbye"}}} as string as record
>
Any idea why when I do this from Smile 1.8 on os 9.1, I get "Expected
>
',' or '}' but found identifier" with 'usrf' highlighted?
>
I tried a couple of manipulations and finally got this to work
>
{{+class usrf;:{"hello", "goodbye"}}} as string as record
>
-- {hello:"goodbye"}
Yes, I'm answering my own message.
So that turned out to be really helpful to anyone who read my message.
Fortunately someone else asked the same question, so I know what's
happening now. And I could probably have figured it out anyway with a
careful look at my own message when it arrived.
>
Then I tried seeing what the string actually looked like and I got
>
something completely different from what everyone else here is
>
describing. WTF? What do I have going on that's different here?
So a little more experimenting tells me that that monstrosity I posted
actually *is* the same string that everyone else is seeing, but
apparently smile is converting those single low ascii codes into long
strings of garbage that seem to depend on the run time. Today I tried
running just the following code
set k0 to ASCII character 0
and for the result sometimes saw --> " " or the open box character.
Other times I got a nice long chunk of garbage, which included strings
like "Im a debugger flag" and "Im a classic app" interspersed with
regular patterns of high ascii looking chars, but which I can't
reproduce in its entirety since smile has since crashed. In any case, a
different string than I got for each low ascii char yesterday, and it
wasn't consistent.
As I write this, I have rebooted my machine and tried it in Script
Editor, I get what everyone has been describing. I tried Smile again
and again got what you all have been describing.
I closed SE and Smile, and reloaded Smile and again got what everyone
describes. After 5 or 6 attempts, I can't seem to reproduce the garbage
again.
So everything looks normal now, but I'm a little disturbed by what was
happening before.
Emmanuel? Have I stumbled across an intermittent memory leak of some
sort?
Michael
--
Michael Sullivan email@hidden
Business Card Express of Connecticut Thermographers to the Trade
"You hate your job -- why didn't you say so? There's a support group
for that. It's called everybody; they meet at the bar." -Drew Carey