[Newbies] Open that fucking thing.

Casey Ransberger casey.obrien.r at gmail.com
Thu Dec 11 16:15:44 UTC 2014


I've said things people didn't like on mailing lists; and it hurt, forever. 

Get off the list. You're wasting everyone's time. Your goals are not ours. So just go away. This is a pain in the ass, and no one here is getting anything good out of it. 

If I was still moderating this list -- oops, this wasn't the list I moderated, but forget that for right now -- at this point, you wouldn't be posting to it anymore. 

Cheers and Happy Endings, so find something like that or say something on topic and actually do something to help someone. Otherwise, you still look like a robot of poor upbringing. 

C

> On Dec 11, 2014, at 4:54 AM, Hans Schueren <werbung at hans-schueren.de> wrote:
> 
> Who says that programming in smalltalk is different from others ?
> 
> You can write smalltalk with a simple Texteditor. However.
> 
> I have written a simple program here , with smalltalk V 2.0 , 16bit
> 
> 
> 1. The programs name is : Prozentrechnung
> 
>    Only one class is the programm. Only one method is the program.
> 
>    ok. there could be more interdependencies such like "subroutines"
>          not important for understanding
> 
> 
> 2.  The method "startUpApplication" from the class "Notification"
> 
>      is responsible for opening the own programm. ( itself a class uhhhhhhhhh )
> 
>      So the only thing you have to do is to tell the strartUpApplication method
> 
>      the program Name.    here   Prozentrechnung new open.    thats all
> 
> 
> 3.   Now you have to type a Method named   open.     for Notification to READ.
> 
> 
> 
> 4.   In most cases is is      self  and then the startmethod of your own program.
> 
>      Here in my program the Promter is asking first with a simple window
> 
>      to INPUT  DATA !
> 
> 
> Very simple and easy.
> 
> I dont care about the endless procedures in other smalltalk implementations
> 
> but one thing is shure .   " i have opened that fucking thing here in smalltalk ! "
> 
> 
> _______________________________________________________________
> 
> 
> 
> 
> Object subclass: #Prozentrechnung
>  instanceVariableNames:
>    'Berechnung '
>  classVariableNames: ''
>  poolDictionaries: '' !
> 
> 
> !Prozentrechnung class methods ! !
> 
> 
> 
> !Prozentrechnung methods !
> 
> calculate
>             "Simple Percentage Calculation"
> 
> 
>      | x  y  ergebnis |
> 
>  x  :=  Prompter prompt: 'Input a sum' default: ' '.
>  x  :=  x asInteger.
>  y  :=  Prompter prompt: 'Input percentage % : ' default: ' '.
>  y  :=  y asInteger.
>  ergebnis :=  x * (y/100).
>  MessageBox message:  'Ergebnis ist: ' , ergebnis printString!
> 
> 
> 
> 
> 
> 
> 
> open
> 
>   "Open that fucking thing"
> 
>   self calculate! !
> 
> 
> 
> 
> 
> 
> startUpApplication: oldWindows
>        "Opens up the the run-time application window.
>         oldWindows are the windows that were opened when
>         the image was saved."
> 
> 
>    "Replace the below code with the startup code for you
>     application.
>      For example:
>        Puzzle15 new open."
> 
>    Prozentrechnung new open.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


More information about the Beginners mailing list