Is there some other way to do this when lines are getting too long to be readable?
Thanks
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
No. Well. I say no - I think there was a massive discussion (argument ) about this not long ago, and I believe that you can now do with with CodeCaddy, which preprocesses the multiple lines into one long one - along with many other things.
But no, it isn't available for the main PB language.
Pity, as the IDE seems not to scroll properly to the right after a certain length. you have to use the arrow rather than drag.
Oh well. not going to get fixed over night either way I guess
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
> Is there some other way to do this when lines are getting too long
This has been discussed here like a million times already (literally).
Just search for topics to do with line continuation. In fact, here's some
for you, all to do with multiline code support:
If (Board(1) + Board(2) + Board(3)) = 3 Or (Board(4) + Board(5) + Board(6)) = 3 Or (Board(7) + Board(8) + Board(9)) = 3 Or (Board(1) + Board(4) + Board(7)) = 3 Or (Board(2) + Board(5) + Board(8)) = 3 Or (Board(3) + Board(6) + Board(9)) = 3 Or (Board(1) + Board(5) + Board(9)) = 3 Or (Board(3) + Board(5) + Board(7)) = 3
FuncRet = #Cross
EndIf
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Yes, I read about that and the discussions you linked to about IDE vs Compiler and whether it's going to break anything.
I'm not going to get too uptight about it though as there's nothing I can do about it. I don't really like pre-processors whether they be for this or oop or whatever so I don't intend to work around it.
It's not a feature than causes me to not be able to write something.
I'll live. I'll be happy if/when it's added.
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right." "psssst! i steal signatures... don't tell anyone! "