a lil help trimming this fat please
skynugget
Posts: 172
hey all,
im tryiing to trim down a project, one of my hoggy pieces of code is this
GET 8,hrs
GET 9, mins
GET 10, secs
GET 11, month
GET 12, date
GET 13, year
GET 14,1hrs
GET 15, 1mins
GET 16, 1secs
GET 17, 1month
GET 18, 1date
GET 19, 1year
at one point i have 20 lines og "gets".
im trying to figure out a way to do it with a for next and lookup, but im just in a duh moment..
can anyone help me out, pritty please?
im tryiing to trim down a project, one of my hoggy pieces of code is this
GET 8,hrs
GET 9, mins
GET 10, secs
GET 11, month
GET 12, date
GET 13, year
GET 14,1hrs
GET 15, 1mins
GET 16, 1secs
GET 17, 1month
GET 18, 1date
GET 19, 1year
at one point i have 20 lines og "gets".
im trying to figure out a way to do it with a for next and lookup, but im just in a duh moment..
can anyone help me out, pritty please?
Comments
Get 9, hrs, mins, secs, month, date, year, ... etc ...
Also it appears from your sample that you're naming, or trying to name, a variable "1year", and so forth. I believe variable names can't start with digits.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i