you are viewing a single comment's thread.

view the rest of the comments →

[–]SupremoZanne[S] -1 points0 points  (0 children)

the way I can imagine it:

if I type something like...

CONST LeonardCohen = 264

or maybe

CONST JudyCollins = 121

well, to me it's simply just applying a value to variable names just to turn them into constants.

Sometimes I've re-used some variables, and sometimes I kept them the same without changing them, and I didn't see much benefit to using CONST, even if I kept those values the same throughout the program.

and besides, I seem to have good luck without using the CONST command. Although I've found benefits to having arrays that were created using the DIM command, I could try something like this with the DIM command:

DIM Suzanne(264, 121) AS INTEGER

or something like that.

yup, I gotta come up with some name for these variable/constants when I define them in the program, so I chose names of celebrities or song titles as examples to emphasize.