123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|426|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> WriteLong?

Sat, 02 Feb 2008, 03:59
spinal
Just a quick question, cos I'm too lazy to think right now, I noticed there is no WriteLong() in blitz, can someone tell me how to cut a long int into two regular ints so I can write those?



Thanks.

-=-=-
Check out my excellent homepage!
Sat, 02 Feb 2008, 04:18
Jayenkai
Hmm... Blitz doesn't handle longs to begin with..

It's ints are 32 bits, and that's as good as you're getting.

-=-=-
''Load, Next List!''
Sat, 02 Feb 2008, 05:14
JL235
A long is usually 64 bits, so you could use writeInt. Something like:

However as Jay pointed out, Blitz doesn't have longs, this is practically impossible to do.

My suggestion, use a different language. You seem to be hitting a lot of walls in Blitz lately. Walls that don't exist in C, C++, C#, Java, Ruby, Python, etc...