• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Still more strange things ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still more strange things ?


  • Subject: Re: Still more strange things ?
  • From: Deivy Petrescu <email@hidden>
  • Date: Wed, 21 Jan 2004 21:25:35 -0500

[...] (By the way, the original script works fine for me on Panther. I have no idea what Axel's problem is/was.)


I'll try to be more exhaustive in my description.
When running the culprit in the Script Editor:

set theArray to {}
repeat 4 times
set end of theArray to theArray
end repeat

the "Run" button is greyed out and the "Stop" button remains indefinitely active; I have to press the latter (or to do a shift-point) to gain control again.
This is what I called, perhaps abusively, "looping".
(Note that Deivy seems to encounter the same behavior as I do, as he wrote: "First you run your script in Smile, because script editor just loops").

Now, after having sent my message, I discovered that by just adding this line to the above script:

log theArray

running the script immediately raises an error message about stack saturation.

On the other hand, if instead of "log theArray", I add this line:

get theArray

the initial behavior (ie. the "looping") shows again.

This happens whichever pane is active (Description, Result, Log).
Script Editor's preferences are unchanged since install.
No OSAXen.

Axel

I do want to corroborate what Axel is saying. I have exactly the same problem.
Smile works to produce the same thing originally posted by JB

Actually, it is not necessary to loop, this does the trick

set lista to {1}
set end of lista to lista
log lista

--
Regards
Saudagues

Deivy
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Still more strange things ?
      • From: Christopher Nebel <email@hidden>
    • Re: Still more strange things ?
      • From: Emmanuel <email@hidden>
References: 
 >Still more strange things … (From: Jean-Baptiste <email@hidden>)
 >Re: Still more strange things … (From: Christopher Nebel <email@hidden>)
 >Re: Still more strange things … (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Retrieving Entourage tasks and events that have been modified after a given date
  • Next by Date: Re: FileMaker Pro Question?
  • Previous by thread: Re: Still more strange things …
  • Next by thread: Re: Still more strange things ?
  • Index(es):
    • Date
    • Thread