O$: couple questions

Bastiaan Olij lists at basenlily.nl
Sat Apr 11 18:17:26 EDT 2009


In the old printer days:
CR means bring the printer head to the start of the line.
LF means, roll the paper one line further.
So in the printer world, both where needed to cleanly go to the next
line, but rarely would you have use to only do one or the other (mind
you, this was from before I was born so I do not pretent to understand
the complexities of those days long ago).

In the OS world for some reason Mac stuck with CR only, Unix stuck with
LF, and Microsoft thought it would be a good idea to keep the combination.

Omnis being cross platform on Mac and Windows has got pretty good
support to recognise CR and CR/LF combinations and react to this correctly.

Anyways, back to the $add question. Please be aware that if you use
$define to define the list using variables, those columns get bound to
those variables and $add will load whatever is currently loaded in those
variables into your list just like the old 4GL "add line to list" did.

Greetz,

Bas

Mike Matthews wrote:
> Hmmm, 13 and 10 are the ascii for CR and LF which are required as a
> pair sometimes for printers and not others, very OS dependent.  Too
> long ago now, but I remember having all of my text printed on a single
> line of paper, so it was all black.  Saved paper, but not ink.
>
> Mike Matthews
>
> Lineal Software Solutions Ltd
> The Barton, Lower Loxhore, Barnstaple, Devon, EX31 4SY, UK
> Authorised Apple Reseller, Omnis Business Partner
> Tel +44(0)1271 850550      omnis at lineal.co.uk
>
> On 11 Apr 2009, at 19:50, Keith Bartlett wrote:
>
>> Hi Alan
>>
>> 013 and 010 are used by some systems
>>
>> Cheers
>> Keith
>>
>> Keith Bartlett - Adnet Ltd
>> Tel: 01491 642133    www.adnetltd.co.uk
>> Sent from my BlackBerry® wireless
>> device_____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>


-- 
Kindest Regards,

Bastiaan Olij
e-mail/MSN: bastiaan at basenlily.nl
web: http://www.basenlily.nl
Skype: Mux213
http://www.linkedin.com/in/bastiaanolij




More information about the omnisdev-en mailing list