Some beginner questions ...

Hubert Brandel

Active Member
Licensed User
Longtime User
Hi,

I am a little bit confused because of some parameters.
I can learn and I will do, but does someone know why it is like it is:

1. rnd(1,5) - in my other languages i did receive a INT from 1 to 5, but here 1 to 4 ...
2. "12356789".Substr2(...) - I know MID$ or substr() in other languages, there
the first wanted char starts with 1, here with 0, even all Array starts with 0.
The last parameter is not included like in 1.

Is there a reason why this counting is like it is ?

PS: My last VB was 3.0 when I changed to other languages ;-)
 
Top