🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #10226

Re: szkolka

#10226
From: Bogdan Błaszczak
Date: Sat, 18 Jan 2003 10:25
21 lines
1519 bytes
Użytkownik "Bogdan Błaszczak" <blatek@twentyfive[toDigits].pl> napisał w
wiadomości news:b09j6g$od1$1@news.tpi.pl...

[...]
> dam jeszcze pare(nascie?) godzin szansy innym, a potem tez se pojazzuje
:))

ok, let's jazz

function roma(N){
 var b,i,o,a=2,s='',R='I,V,X,L,C,D,M'.split(',')
 for(b in R){
  a=7-a;o=N%a;N=(N-o)/a
  if(o==4){s+=R[1*b+(N&1)+1]+R[b];i=o*(N&1)}
  else{if(i!=4)for(i=0;i<o;i++)s+=R[b];i=0}
 }
 return s.match(/./g).reverse().join('')
}

BlaTek
Technical Details
Message-ID: <b0b9tq$bhe$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.task.gda.pl!news.atman.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <b06bao$cp7$1@news.tpi.pl> <b07bqt$2d3$1@news.tpi.pl> <b08r07$62k$1@news.tpi.pl> <b09j6g$od1$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.task.gda.pl!news.atman.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: Bogdan Błaszczak <blatek@twentyfive[toDigits].pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: szkolka
Date: Sat, 18 Jan 2003 11:25:27 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 23
Message-ID: <b0b9tq$bhe$1@news.tpi.pl>
References: <b06bao$cp7$1@news.tpi.pl> <b07bqt$2d3$1@news.tpi.pl> <b08r07$62k$1@news.tpi.pl> <b09j6g$od1$1@news.tpi.pl>
NNTP-Posting-Host: pb236.walbrzych.cvx.ppp.tpnet.pl
X-Trace: news.tpi.pl 1042885370 11822 217.99.236.236 (18 Jan 2003 10:22:50 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sat, 18 Jan 2003 10:22:50 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit