Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Intellisense script for LOCAL declaration
Troy Murphy
Creates the 'LOCAL' declaration by scanning a codeblock. Considers single character variables and variables that use 'l' (lower case 'L') in hungarian notation as local variables. Also honors other declarations. It will optionally create the type (as) syntax which is especially useful on object types since that will give you the intellisense to your own classes.
Created on
18 years ago
Downloads
700
File type
Freeware
Rating
4.00/5.00
General information
Rating:
4.00/5.00 (4 rates) Rate this item
Description
To Install:
  1. Simply unzip and run 'locals.prg'
To Use: Write the code as normal using hungarian notation for variables (lcMyVar, loMyObj). The first two characters are key. When you want the local declaration, place the mouse pointer at the line you wish the declaration to go and type 'locals' or 'locals6' (no quotes) followed by a space to insert the LOCAL declaration. The difference is that 'locals6' will not add the 'AS' syntax to the 'LOCAL' statement. Please feel free to improve or change behavior to suit your likng.
Created by

Comments
Useful, though the syntax for createobject() isn't the same as newobject(). Rhodri Evans, August 8, 2005

There is an update dated 9/5/2006. Special thanks to Greg Reichert for enforcing codeblock scoping and the support for the 'locals6' option. Troy Murphy, September 6, 2006

Add a comment