ColoredPoint.MyColoredPoint.Color = RGB(255, 0, 0)
instead of this:
ColoredPoint.MyColoredPoint\Color = RGB(255, 0, 0)
Would be nice to get the DOT like other programming languages.
What do you think

No, don't change this. All codes must be change!fsw wrote:ColoredPoint.MyColoredPoint.Color = RGB(255, 0, 0)
-
ColoredPoint.MyColoredPoint\Color = RGB(255, 0, 0)
Code: Select all
ColoredPoint.MyColoredPoint
ColoredPoint\Color=RGB(255,0,0)
Code: Select all
ColoredPoint.MyColoredPoint
ColoredPoint.Color=RGB(255,0,0)
UsePath :)Doobrey wrote:I know this is OT, but it`s still to do with structures.
There was a command in the old Amiga Blitz Basic I found useful,( but I can`t remember what is was called :roll: ) and would like to see in PB.
I was poking fun at the feature request :)Doobrey wrote:@Father Jack,
What`s facetious about asking for -> ?
Code: Select all
Global Struct.RECT
Usepath Struct
OpenWindow( 0,\left , \top, \right, \bottom, #PB_Window_SystemMenu,"" )
etc...
Code: Select all
Structure test
a.l
b.f
c.b
d.w
EndStructure
t.test
t\a=1234
t\c=127
t\d=4096
t\b=t\d/t\c
Code: Select all
Structure test
a.l
b.f
c.b
d.w
EndStructure
t.test
t.a=1234
t.b=1.414 ; *** are we turning t into a BYTE here?
t.c=127
t.d=4096
Code: Select all
t:test ; test struct
c:f ; float
x:w ; word