Jump to content
IGNORED

Can variable aliases (DIMs) contain periods?


Random Terrain

Recommended Posts

The bB page says this about aliases: "The first character of an alias must either be one of the 26 letters of the alphabet (uppercase or lowercase) or an underscore. Additional characters can be any combination of letters, numbers, or underscores."

 

But I just looked at a program that uses a period in the middle of an alias. As long as the alias doesn't start with a period, the program compiles and seems to run without any problems.

 

 

Question #1

 

Is there a reason to discourage the use of periods in aliases?

 

 

Question #2

 

If we can use periods in variable aliases, are there any other characters we can use that haven't been mentioned on the bB page?

 

Link to comment
Share on other sites

Looks like the answer might be here:

 

atariage.com/forums/topic/73160-bug-report-thread/?do=findComment&comment=4046241

RevEng said "If I'm ever in the dasm source again, I'll take a look at better enforcing the symbol-name restriction. But the take-away is, don't use periods in bB labels or variables."

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...