unrecognized command do is occurring when i am trying to use below code in mapbasic window. can anyone help me how to fix it although syntaz is correct
fetch first from t1
Do while Not EOT(t1)
'Do this with table t1
fetch Next from t1
Loop
1 Answer 1
You can't use loops in the MapBasic Window. You need to download the stand-alone Mapbasic program and compile your code into an application.
For simple code you should be able to migrate from the MapBasic Window to MapBasic Application with very few, if any, changes, so it shouldn't be too daunting.
t1
a table name, string variable or alias variable?