Show and tell: Here is what a "Hello, world!" program looks like for my operating system.

Here's the source code. Read upwards from TODO to DONE; ignore the other lines:


//
// Copyright (c) 1992-2018 Wo Of Ideafarm.  All rights reserved.  See IDEAFARM.COM for permitted uses.
//
// This proprietary software was crafted at great expense and with great hardship by one man.  It took 25 years.
// Respecting the rights of other people is an important part of empowering one another.
//

                            
REST

etherC::loafIF( tinP ) ;

etThread.traceF( tinP , T("Hello, world!") ) ;

TODO

/*1*/WAKEsHOWtEXT( "scr.hello.world" )/*1*/
/**/
*/
/*

//
// Respecting the rights of other people is an important part of empowering one another.
// This proprietary software was crafted at great expense and with great hardship by one man.  It took 25 years.
//
// Copyright (c) 1992-2018 Wo Of Ideafarm.  All rights reserved.  See IDEAFARM.COM for permitted uses.
//

the "loafIF" function causes the process to wait for the user to key Ctrl-C. The "traceF" function is the primary output function, since IPDOS (tm)'s graphics presentation system is disabled due to being rewritten. The "traceF" function causes a single line of plain text to be wrtten to the system log for the "home". If a console window exists, that text is also written to the console. (IdeaFarm (tm) Bundle normally runs as a Windows service, so there is normally no console window.) I ran this program using the development environment, which is console application that is used to compile, link, and run or debug a program as well as to take a "snapshot" of the entire development system.

And here's the output, which appears in a console window:

processGlobal3S ct: [idAdamRoot,idNumaNode]:    40021015    2

000b3e37.ec330689 ! 00000000.00000000 @ 00000000.00000000 # 1        $ 1        % tm1F             | NUMA:  this process will default to limiting itself to using a single NUMA node on NUMA computers [idNumaNode]: 2
000b3e37.ec35795a ! 00000000.000272d1 @ 00000000.00000000 # 1        $ 1        % tm1F             | Hello, world!

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center