Page 3 of 3
For loop syntax.
Posted: Tue Oct 01, 2019 9:47 am
by lumberjack
Robert,
robert wrote:Alan,
Thanks for the video. I am looking into this
Just thought now about it. Did there not slip in an anomaly with preparing the Public release. None of us testing this with the FOX release gets the issue.
For loop syntax.
Posted: Tue Oct 01, 2019 10:20 am
by Karl-Heinz
lumberjack wrote:Robert,
robert wrote:Alan,
Thanks for the video. I am looking into this
Just thought now about it. Did there not slip in an anomaly with preparing the Public release. None of us testing this with the FOX release gets the issue.
Hi Johann
good point. Maybe there´s a preproccessor problem with the public build ?
@Alan
what happens when you add the ENDFOR command directly to your source code ?
Code: Select all
Using System
Using System.Collections.Generic
Using System.Linq
Using System.Text
#xcommand ENDFOR => NEXT // <--------- add this line
Function Start() As Void Strict
? "hello world! today is ",today()
Local x As Int
For x = 1 To 100
? x
EndFor
Wait
Return
regards
Karl-Heinz
For loop syntax.
Posted: Tue Oct 01, 2019 10:53 am
by robert
Guys,
Yes it is something like that. It works in the subscribers build and not in the public build. Very unfortunate.
I am working on this right now.
We will publish a new build (for both public and subscribers) in a few days.
Robert
For loop syntax.
Posted: Tue Oct 01, 2019 11:00 am
by alanbourke
Adding the #xcommand fixes it.
BTW I am just doing some testing to help out - there is no urgency on my part to have this fixed.
For loop syntax.
Posted: Tue Oct 01, 2019 2:32 pm
by Chris
Robert,
This is very strange, because I am still in the public version (didn't switch back after I was testing it last week) and it works ok for me! Unless I have changed something later n which makes a difference. So what was causing the problem?