Can someone please explain this? I'm guessing I don't understand order of
execution.
When perusing >>fibonacciSequence, I get a proper result, but I don't
understand why when looking at the code.
Consider this fragment...
prevTotal := 0.
currTotal := 1.
currTotal := prevTotal + (prevTotal := cur
Op 18-9-2020 om 06:45 schreef Richard
O'Keefe:
Roman numerals are
much more complicated and much less consistent
than most people
realise. The regular M DC LX VI system is both
more modern and less
capab
Hi! Maybe you can use this algorithm:
Define a dictionary with these elements:
1000:'M',
900:'CM',
500: 'D',
400: 'CD',
100:"C",
90:'XC',
50:'L',
40:'XL',
10:'X',
9:'IX',
5:'V',
4:'IV',
1:'I'
Using this dictionary (romansDic), you define a recursive function:
toRomans(number){
i = retur
Hi,
don't forget to read the expression from left to right:
currTotal := prevTotal + (prevTotal := currTotal).
5 1 43 2
1. the current value (X) of prevTotal is fetched.
2. the current value (Y) of currTotal is fetched
3. prevTotal is assigned currTotal which
Op 18-9-2020 om 16:13 schreef Pablo
Navarro:
Hi! Maybe you can use this algorithm:
Define a dictionary with these elements:
1000:'M',
900:'CM',
500: 'D',
400: 'CD',
Hello,
This code that worked for P6 and P7 is now failing in P8.
*AthensCairoSDLSurface fromSDLSurface: self window handle handle
getWindowSurface.*
the window is created like this:
*window := OSWindow createWithAttributes: (OSWindowAttributes new
resizable: false; yourself).*
The exception is
Hi everyone, I share a tool for creating telegram Bots with Pharo. This library
provides an interface for the Telegram Bot API.
To create our telegram bot in Pharo, the first thing we need to do is to create
a new object that inherits from Bottlegram. This object must define at least
these thre
Esteban A. Maringolo wrote
> Thanks for the reference. I'll look into it!
>> I know that Sean D has wrapped the Tesseract OCR library:
>> https://github.com/seandenigris/Tesseract-St
Esteban, I did a little work getting it working in Pharo 8 and adding an
example. Check out `Tesseract class>>#exam