Path: news.daimi.aau.dk!solgaard From: solgaard@daimi.aau.dk (Hans Erik Stubbe Solgaard) Newsgroups: comp.lang.beta Subject: Print... Date: 23 Mar 1998 13:12:39 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 57 Distribution: daimi Message-ID: <6f5n47$mda$1@nf.aau.dk> NNTP-Posting-Host: barium.daimi.aau.dk X-Newsreader: NN version 6.5.1 (NOV) Xref: news.daimi.aau.dk comp.lang.beta:11486 Hi there... How do I print from a BETA compiled programme?? If I have a list with data of persons e.g. and I want to print the contents of the list. What do I do? (I want to write to a printer!!) e.g. pers:(# age:@integer; name:^text; enter(name,age) #); persons: (# perslist:[0]^pers; etc..... #) ------------------------------------------------------ Another question is: If I want to put the contents in a TextScrollList, how do I 'tab' it?? I get e.g. Peter 21 Ole 13 instead I want peter 21 ole 13 I have tried to do following in the scrollList: tmp:^text; i:@integer; (for i persons.perslist.range repeat persons.perslist[i].name[]->tmp.append; '/t'->tmp.append; persons.perslist[i].age -> tmp.putint; 1->append; (i,tmp[])->SetText for) But instead of a tab. - a square is drawn after the name Peter (square) 21 Maybe I should mention that I use the Winnt version of the compiler?! please Help me... Thanks a lot Hans Solgaard -- Hans Solgaard 4E Ronson Grosvenor Street M1 7HR Manchester