Re: Modifying variables

new topic     » goto parent     » topic index » view thread      » older message » newer message

Lucius Hilley wrote:


<snip>
> integer i
<snip>
> i = '1' + '2'

You surprise me; I never thought of this kind of arithmetic. But for a
newbie this must be a bit confusing. The result i is the number 99, and how
is that done?
Well, in Basic you could write this as ASCII('1') + ASCII('2'), or something
like that!
Now do you understand that the result is 99?

Ad

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu