1. Changes to Eu, AX and Year
- Posted by Mathew Hounsell <mat.hounsell at EXCITE.COM> Nov 29, 1998
- 636 views
- Last edited Nov 30, 1998
[ New Syntax ? ] Ralf, Wha? %) Some of it made sense. I like the each. I still would like end (for sequence slicing) keyword, strings and I have decided shift_right and shift_left would also be good for low level libraries. I have been working on a string library it just has one major problem, it's all pointer based. Strings wouldn't be hard to implement and would be more space efficient, I've patially done the design. Take a text files size and times it by 4 to work out how big it would be in memory in a sequence. [ AX ] AX is a 16bit number. AH an AL are the higer and lower 8bits respectivly. Getting AH you : AH = floor( and_bits( AX, #FF00 ) / 256 ) [ Years ] Alfredo Brand wrote "About this yr is two digits, that's why you plus 1900. printf(1," %d, 19%d",{dt[3],dt[1]}) It has the same effect." Actually, No. The year returned from date is how many years since 1900. In 2000 it would display '19100' not '2000'. Euphoria is Y2K compliant. -------------------- Sincerely, Mathew Hounsell Mat.Hounsell at Excite.Com _______________________________________________________ Get your free, private e-mail at http://mail.excite.com/