The rules for naming variables, labels, functions, windows, controls, menus, and anything else you would reference in a script are different in PowerBuilder .NET than in PowerBuilder Classic.
Rules for identifiers:
- Must start with a letter or an _ (underscore)
- Cannot use reserved words (see "Reserved Words" in the PowerScript Reference)
- Can have up to 40 characters but no spaces
- Are not case sensitive (PART, Part, and part are identical)
- Can include any combination of letters, numbers, or _ (underscores)
- Cannot include any of these special characters:
- - Dash
- $ Dollar sign
- # Number sign
- % Percent sign