Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4747

CON vs. =

$
0
0
Is there any difference or advantage to declaring a constant using CON vs. using an = sign to assign a variable value? i.e

widget CON 155 vs. widget = 155

Using just the = sign would require declaring the value beforehand and maybe use another few bits of memory. Beyond that is there any other disadvantage?

Viewing all articles
Browse latest Browse all 4747

Trending Articles