Re: Test-keyword for single-line if-constructs
Posted: Wed Mar 04, 2015 1:18 pm
I like mine a bit more 

http://www.purebasic.com
https://www.purebasic.fr/english/
No problem.uwekel wrote:I like mine a bit more
You opened a 6 year old topic for this?uwekel wrote:I could imagine, for a one-liner, to use the Then keyword like this:And it is Basic-likeCode: Select all
If a=1 Then b=3 Else c=5
Since a long time, i wish a single line if like:uwekel wrote:I could imagine, for a one-liner, to use the Then keyword like this:And it is Basic-likeCode: Select all
If a=1 Then b=3 Else c=5
Code: Select all
If a=1 Then b=3
Sorry for using the search before posting a new topicjuror wrote:You opened a 6 year old topic for this?:)