December 10, 201114 yr anyone know what happened to their blog or is it that they just havent updated it sinCe Last year September? thank u. -i I am trying to figure out what the "999999999999999" is doing here in this partial script please: top = getValue( " & variableName & " ; 1 ); " & variableName & " = middlevalues( " & variableName & " ; 2 ; 999999999999999 )]; OR is it just as a placeholder? Edited December 10, 201114 yr by imoree
December 10, 201114 yr It's just a big number so that middlevalues starts at position 2 and "goes on 99999999999 places". SFR seems to have gone on hiatus. They haven't posted on TechNet in a while too.
December 10, 201114 yr I am trying to figure out what the "999999999999999" is doing It's an example of bad coding practice. MiddleValues ( listOfValues ; 2 ; 999999999999999 ) will return the same thing as: MiddleValues ( listOfValues ; 2 ; ValueCount ( listOfValues ) ) as long as listOfValues contains less than 999999999999999 values. While it's extremely unlikely that a list would exceed such a high number, the code introduces an unnecessary arbitrary - and therefore confusing - constant. The real objective here is to get all the values in the list except the first one - and the best way to achieve it is is to say exactly that: RightValues ( listOfValues ; ValueCount ( listOfValues ) - 1 )
December 10, 201114 yr Author Ok then. i dont want to add to my already bad coding habits!! LOL thanks Comment..
Create an account or sign in to comment