Is the following valid NSBasic syntax?
Dim lnRows, lcStr, lnLastId, lnNextId, lcDEDate
Dim sqlList, lnRow, lnCol
Sub Main()
' Set variables
lnRows = 0
lcStr = ""
lnLastId = 0
lnNextId = 0
lnRow = 0
lnCol = 0
Thanks
Is the following valid NSBasic syntax?
Dim lnRows, lcStr, lnLastId, lnNextId, lcDEDate
Dim sqlList, lnRow, lnCol
Sub Main()
' Set variables
lnRows = 0
lcStr = ""
lnLastId = 0
lnNextId = 0
lnRow = 0
lnCol = 0
Thanks
Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly.
What happens when you run it?
Seems to work all right.
I looked up var in JavaScript and the var seems to accept variables all in a row separated by commas.
Maybe good to go.
Thanks