-
1
- #1
I think Alaska xBase++ supports the C style increment/decrement...
It would have been nice to have that... I've just been inserting columns into a wide excel spreadsheet and having to
manually increment the indexes to the column number (because this was not anticipated in my original design - I thought new columns would just go on the end)
total PITB (especially as I don't have a column editor).
So, as the client is now going to do this daily (most likely) I've done this:
Regards
Griff
Keep [Smile]ing
It would have been nice to have that... I've just been inserting columns into a wide excel spreadsheet and having to
manually increment the indexes to the column number (because this was not anticipated in my original design - I thought new columns would just go on the end)
total PITB (especially as I don't have a column editor).
So, as the client is now going to do this daily (most likely) I've done this:
Code:
FUNCTION INC(m.index as integer)
LOCAL M.OLDINDEX
M.OLDINDEX = M.INDEX
M.INDEX = M.INDEX+1
RETURN(M.OLDINDEX)
Code:
m.COLNO = 1
m.OBJEXCEL.CELLS(m.ROWNO,INC(@M.COLNO)).VALUE = myTable.Myfieldx
m.OBJEXCEL.CELLS(m.ROWNO,INC(@M.COLNO)).VALUE = myTable.Myfieldy
m.OBJEXCEL.CELLS(m.ROWNO,INC(@M.COLNO)).VALUE = myTable.Myfieldz
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0