[Structures] Using of variables with declaration suffix

Everything else that doesn't fall into one of the other PB categories.
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

[Structures] Using of variables with declaration suffix

Post by benny »

Hi,

this is not a big deal actually ... however I wonder why I cannot use something
like this :

Code: Select all

Structure test
  x.l
  y.l
EndStructure

aTest.test

aTest\x = 10
aTest\y = 20

;CANNOT USE THE FOLLOWING
;GIVES "GARBAGE AT END OF LINE"
;
;aTest\x.l = 10
;aTest\y.l = 20
The reason why I want to use variables always with the suffix is that this
is my personal kind of variable naming convention. So that I always
know for example that the variable x stands for a long value.

I know that there are a lot of other ways like naming x.l as lgX
(i.e. longX) and so on.

Nevertheless, is there any reason why it isn't possible with variable of a
structure to have its suffix added (e.g. aTest\x.l ) :?: Or do I miss
something here :roll:
regards,
benny!
-
pe0ple ar3 str4nge!!!
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I don't know. I suggested it in the suggestions forum some days ago. I would like it too.
Post Reply