• 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: magic integer converter number 62? - Joking???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: magic integer converter number 62? - Joking???


  • Subject: Re: magic integer converter number 62? - Joking???
  • From: Deivy Petrescu <email@hidden>
  • Date: Sat, 24 Feb 2001 19:09:11 -0500

what I found out:
In this machine, AS 1.4 system 9.0 there is no error running the script bellow with 61 , 62 or whatever number.
In a different machine, same thing with AS 1.3.7 and OS 8.6.
Running AS 1.5.5 OS 9.1 i get an error on the second script

script 1
set x to 62
set b to (x+(2.6-(2.6 mod 1))-x)
set b to b as integer
----> 2

script 2
set x to 61
set b to (x+(2.6-(2.6 mod 1))-x)
set b to b as integer
----> Error can't make 2.0 into an integer --> AS 1.5.5 OS 9.1. It runs alright with the 2 other AS.

i think there might be a problem there. I'll probe it further.

regards
Deivy Petrescu
http://www.dicas.com
Tips for your Mac.
Dicas para o seu Mac.
mailto:email@hidden
mailto:email@hidden


  • Prev by Date: Question about random number on AS 1.5.5
  • Next by Date: Re: Scriptable PDF Plugins?
  • Previous by thread: Re: magic integer converter number 62? - Joking???
  • Next by thread: Scheduling Tasks With Applescript
  • Index(es):
    • Date
    • Thread