Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Assignment to constant not permitted - Error


shado360
 Share

Recommended Posts

Hello there, forums! Ok, so I have a problem with this code:

>! > Private Sub HScroll1_Change()
> Dim RUN_SPEED As Byte
> modConstants.RUN_SPEED = 6
> End Sub
>
> Private Sub HScroll2_Change()
> Dim WALK_SPEED As Byte
> Label3.Caption = HScroll2.Value
> modConstants.WALK_SPEED = 4
> End Sub

This is the error I am getting:

>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/b39a1ffbc4ce493af68119891fc58d94.jpg)

Any Ideas?

Thanks,
Païn
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...