Author Topic: Quick ODBX Question  (Read 10332 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Quick ODBX Question
« Reply #30 on: January 17, 2010, 08:06:20 AM »
Nice variant Evgeniy!

I wouldn't have immediately thought to create the "Padding string" first.. of course it would only work for padding < 2^6 in length, but I'm sure that's sufficient  :-)

Lee

Hi Lee, if you know in advance a symbol for addition easier not to create and write down it in the program:
"++++++++++++++++++++++++++++++++++++++++"


Haha, well of course, as you know it could be any symbol  :-)

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Quick ODBX Question
« Reply #31 on: January 17, 2010, 08:08:05 AM »
i think this should be sufficient :)
Code: [Select]
(repeat (1+ (fix (/ (log (apply 'max Len)) (log 2))))
    (setq del (strcat del del))
  )

Someone knows their maths  8-)