client
Northeast() r;Southeast() r;Northwest() r;Southwest() r
How could I put client on the same line without getting an error?
Save()
var/savefile/s;s=new("Savefiles/[mob.ckey]");s["Pennys"] << mob.Pennys;s["Hits"] << mob.Hits
ID:169229
![]() Jul 18 2005, 3:36 am
|
|
client How could I put client on the same line without getting an error? Save() |
![]() Jul 18 2005, 4:09 am (Edited on Jul 18 2005, 6:08 am)
|
|
From what I know, deleteing the empty lines is the most you can do to compress code.
|
your actually wrong. removing tabs and making it 1 line actually saves bytes. So does using this
#define r return
#define i icon_state
|
Strawgate wrote:
client How could I put client on the same line without getting an error? If you're doing that for the 4K, then you're already sunk. There's no reason you should be using those lengthy procs when you can simply override mob/Move() or atom/Move(): Move(a,b)R(b&b-1)?0:..() > Save() Use braces. Lummox JR |
Im not entering the 4k challenge, its just for me to learn howto make code take less space.
Lummox JR wrote: Strawgate wrote: client How could I put client on the same line without getting an error? Move(a,b)R(b&b-1)?0:..() How does that work? Use braces.THANK YOU!! |