AutoHotkey Community

It is currently May 26th, 2012, 10:21 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 

Would This be useful
Yes
No
Mabey so
You may select 1 option

View results
Author Message
PostPosted: August 4th, 2008, 5:52 pm 
Offline

Joined: June 5th, 2007, 10:57 pm
Posts: 89
Location: USA
Having this functionality would be the coolest thing ever.

I wish that this would be valid code

Code:
somefunction(somevariable) {
   static
   returns := somevariable
   if somevariable = %remember%
      Msgbox OMG I remember that
   Else
      Msgbox Huh.  What was that???
   remember := returns
   return returns
}


I know it isn't nessesary to assume all variables static in this instance but it would be nice to have.

PRETTY PLEASE WITH A CHERRY ON TOP


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 4th, 2008, 6:32 pm 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Lexikos' Custom AHK Build contains this functionality :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group