• 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
as is what?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

as is what?


  • Subject: as is what?
  • From: micro-people <email@hidden>
  • Date: Sun, 24 Aug 2003 12:51:34 +0900

Hi,

things below is my first thing @ AS:

--- 8< ---

set a to 2 ^ 32
set b to 99991231 + 99991231
set fileNum to open for access file "sarigama:as:test" with write permission
try
set fileEnd to get eof fileNum
write (a as text) & return to fileNum starting at (fileEnd + 1)
set fileEnd to get eof fileNum
write (b as text) & return to fileNum starting at (fileEnd + 1)
on error errMsg
close access fileNum
error errMes
end try
close access fileNum

--- 8< ---

when i didn't place "as text" where it is above
things written in the output file was weird = couldn't read it
things above will spit out

4.294967296E+9
199982462

am i doing things in a right way ?
i mean ... i should have set a and b in a different way
@ the first two lines
so that i won't have to use "as text" thing?

BTW

can't i have a expressed without "E+9" rapping ?
or i can't get rid of that
simply because a is too huge?

thanx

BUYO-BUYO-IGOR------------------
http://buyobuyo.isgenius.com

"SaRiGaMa's Oil Vending Orchestra"
http://oil.isonfire.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: as is what?
      • From: Doug McNutt <email@hidden>
    • Re: as is what?
      • From: John Delacour <email@hidden>
  • Prev by Date: AppleScript copy selection and make alias commands
  • Next by Date: Re: decimal separating point
  • Previous by thread: AppleScript copy selection and make alias commands
  • Next by thread: Re: as is what?
  • Index(es):
    • Date
    • Thread