as is what?
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.