Re: conversion ??
- Posted by "Boehme, Gabriel" <gboehme at POBOXB1.HQ.MSMAIL.MUSICLAND.COM> Jul 06, 1999
- 533 views
Mike Sabal wrote: >I'm too lazy to double check this right now, but perhaps this is what you >want: > >*** Untested code *** > >integer myint >sequence a32, a16 > >myint = 24000 >a32 = int_to_bytes(myint) >a16 = a32[3..4] > >********************* int_to_bytes(24000) returns {192,93,0,0} -- so the last line should be: a16 = a32[1..2] Gabriel Boehme