| View previous topic :: View next topic |
| Author |
Message |
heresy
Joined: 11 Mar 2008 Posts: 291
|
Posted: Wed Jun 11, 2008 10:29 pm Post subject: Post your record of longest code lines for single script |
|
|
* Include lines from #Included Scripts
* Include lines from used functions only (even written by others)
* Exclude lines from comments
* Exclude lines from all the gay decorations
let's see how many lines we can handle with AutoHotkey
PS. i'm talking about WORKING script  _________________ Easy WinAPI - Dive into Windows API World
Benchmark your AutoHotkey skills at PlayAHK.com |
|
| Back to top |
|
 |
m^2
Joined: 28 Feb 2008 Posts: 56 Location: Krk, PL
|
Posted: Wed Jun 11, 2008 11:35 pm Post subject: |
|
|
Well, it's not AHK, but...
| Code: | | sendWM_COPYDATA('C'|('D'<<8),strcat(strcat(strcpy(t= malloc(strlen(argv[i+1])+strlen(argv[i+2])+2),argv[i+1]),"\r"),argv[i+2]),CharUpper(argv[i]+2)); |
If I count correctly, these are 23 functions.
On my wide monitor it doesn't look that bad actually... _________________ Waiting for Windows 8... |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1205 Location: USA
|
|
| Back to top |
|
 |
HugoV
Joined: 27 May 2007 Posts: 499
|
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Fri Jun 13, 2008 11:23 am Post subject: |
|
|
| ahklerner wrote: | | Code: | | NumPut(type%A_Index%,varg,16*(nParams-A_Index),"Ushort"), type%A_Index%&0x4000=0 ? NumPut(type%A_Index%=8 ? SysAllocString(arg%A_Index%) : arg%A_Index%,varg,16*(nParams-A_Index)+8,type%A_Index%=5||type%A_Index%=7 ? "double" : type%A_Index%=4 ? "float" : "int64") : type%A_Index%=0x400C||type%A_Index%=0x400E ? NumPut(arg%A_Index%,varg,(nParams-A_Index)*16+8) : VarSetCapacity(ref%A_Index%,8,0) . NumPut(&ref%A_Index%,varg,16*(nParams-A_Index)+8) . NumPut(type%A_Index%=0x4008 ? SysAllocString(arg%A_Index%) : arg%A_Index%,ref%A_Index%,0,type%A_Index%=0x4005||type%A_Index%=0x4007 ? "double" : type%A_Index%=0x4004 ? "float" : "int64") |
|
dude? _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
|