Pagina 1 van 1

Profan²

Geplaatst: 16 okt 2003, 19:32
door Arnie
Dit is mijn nieuwe nick, maar ik heette hier SuperNova.
Maar zo heet ik niet meer :P
Verder heb ik nog een big time stuk tekst voor mensen die programmeren,
het is Engels en ik heb geen zin om t te vertalen (wel zelf gemaakt).
Nouja programmeurs moeten eigenlijk wel Engels kennen anders kunnen ze de meeste references toch niet lezen...
Ohja, dit is geen show-off, profan² is niet van mij.
Dit bericht is net zoiets als die over YS Flightsim maar dat doe ik niet meer.
Snhideout.com is trouwens ook offline, geen tijd voor en bovendien bleek dat copyrights niet in orde waren, dus ik heb het uit de lucht gehaald.

Voor de Nederlandse versies van mijn programma's, mail me maar :P
Het Engels spreekt eigenlijk voor zich maar de vertaling was niet al te moeilijk,
dus ik heb toch maar Nederlandse versies gemaakt.

Profan² is a language developed somewhere in Win3.x time,
and it used to be shareware.
The developer is German and it seems he is not rather good in English.
There used to be only a German version but it was translated.
According to its website the English version wasn't popular and only 20 copies were sold in the US.
Now Profan² 3.3 (the Win3.x version) is freeware.
Don't worry, the fact that it's a Win3.x version only means it's 16-bits.
You can still execute it on your newer Windows, although I suspect WinXP from converting 16 to 32-bits (not sure) because it took kind of long when I wanted to open a 16-bit program ('LockIt' by Kevin LaFata).
I haven't tested any other 16-bit programs since I don't have XP myself.
On my 98SE machine it runs fine and the same with the created programs.
It is said to have worked with OS/2 Warp.
On its website (http://www.profan.de) you can download Profan² for free.
In the menu, click on English.
The newer versions are still shareware and I have no idea how much they cost, but I expect a lot of them.
Too bad there's no real English version, only some weird translation stuff.
If there was a directly buyable English version cheaper than €25 (about $25), I'd probably buy it.
Unzipped it's about 1,22MB so space shouldn't be a problem.

The language itself looks a bit like Basic.
Here's one option for "hello world":
PRINT "Hello world!"
WAITINPUT
END

WAITINPUT waits for a keypress or a mouseclick, the rest should be clear.
Now another option, using popup screens:
MESSAGEBOX "Hello world!","Title",0
END

The first parameter is the text, the second the title, the third the box-type.

I already wrote two small programs, here a brief description of them.
The downloads are in PRC, they're compiled but not linked with EXE.
It is possible to make them stand-alone EXE's,
but then the Profan² execution engine will be included and it's better to just download Profan².
Off course this is a trick of me to make you download the thing :P

RANDOM NUMBER GENERATOR
A typical program to learn a new language better after you did the "hello world" stuff.
You enter a number (M) and the program generates a random number between 0 and M (can also be M).
There also is the AGAIN function that uses the previously entered M to make another random number.
These things were all in version 1.0, but there's more.
FILL is like AGAIN but it goes on until the window is filled.
And in the new CONFIG menu you can edit the maximum M (at least 1, at most 65534), change hotkeys, and pausetimes.
These pausetimes wait for a while before another generation can be executed because the computer speed nowadays is so fast that things go wrong if you don't slow it down.
But in the CONFIG menu the pausetimes can be redefined and also disabled (set to 0) so you can see what happens.
Version 1.1 currently contains about 444 lines and works properly, but I'm still building in more functions.
Download (PRC, executable with Profan²)
Want old and/or Dutch versions? Email me.

CHARMAKER (C-M)
A very small program that shows which character corresponds to a number you enter. It uses @Chr$, a function that according to the reference shows the character corresponding with its ANSI code.
There are 3 different fonts and you can also choose to use the Windows popup function
(see MESSAGEBOX in the hello world example).
I have just written this thing and am going to try to add some more features in v1.1. Current version 1.0 is about 130 lines and seems to work fine.
Download (PRC, executable with Profan²)
Want the Dutch version? Email me.

I hope you're going to try it :)
If you have good (or bad) experiences, email me.

P.S. Profan² CAN connect with SQL servers and do things! It uses OBCD.DLL and has the commands:
SQLDone (disconnect)
SQLExec (send command)
SQLSetNull (I'm not sure, but I think it's to make results variable compatible if you get a empty result)
SQLSetDel (set the separator character to get the results in a variable)
These are the functions:
@SQLInit (connect)
@SQLExec (send command)
And the system variable:
&SQLCount (1 means error, otherwise number of data sets processed by last command)
Now that's nice :P

In the RNG you can find His/Fu in the Info menu.
I haven't done that yet, but here's the info.
It should display the history and what-to-expect in the next version.
Here's the what-to-expect for both RNG and C-M:

RNG 1.2
-> center the M/R output using LOCATE
-> fix double hotkey (Info menu, HELP and HIS/FU)
-> show special message when entering text for M
-> CONFIG, enable/disable automatic cleaner
-> CONFIG, Output (screen - file - printer)

C-M 1.1
-> also convert character to number
-> output a range of numbers with their character to file or printer
-> currently the system fonts are used: Fixedsys, OEM and ANSI.
Maybe I can let the user enter a fontname he wants to use,
so that also TrueTypes can be used like Arial, Verdana, Times New Roman etc
-> Add info about the fact that when you enter e.g. 554 in C-M, you get a *,
and when you use ALT+554 in Notepad you also get a *!
-> try to force normalised window (against maximalisation that doesn't work anyway, the thing goes to the corner)
as example use RNG, maximize the window, and do anything from the menu (except quit). see what happens.

If anyone knows some other nice improvements,
please tell me.
And er.. am I too enthusiastic? ;D

Geplaatst: 16 okt 2003, 19:52
door timgoud
waarom nieuwe nick?

Geplaatst: 16 okt 2003, 20:37
door Stef
Waarom al die veranderingen?
En niet gewoon een mailtje sturen naar BartvB met een Nick Change net zoals ik.

Geplaatst: 16 okt 2003, 20:40
door timgoud
Ja, is makkelijk duurt aleen een week

Geplaatst: 17 okt 2003, 00:43
door Arnie
Ik ga BartVB niet lastigvallen, die heeft t veel te druk.
Bovendien was ik niet op 't idee gekomen.

Geplaatst: 17 okt 2003, 08:22
door LadyBug
En het is SN wel?
Of iemand die grappig wil zijn :roll:

Geplaatst: 17 okt 2003, 09:24
door timgoud
Pm suppernova zelf!

Geplaatst: 17 okt 2003, 09:48
door Arnie
Ik log daar niet meer in.
Maar je kan dingen vragen die iemand die grappig wil zijn niet zou weten..
Of je kan me iets vragen over mijn oude onderschrift,
dat leg ik nog graag uit ook :P

Geplaatst: 17 okt 2003, 12:22
door Podium4
"Het duurt niet lang meer!!
Bekeer je voor het te laat is en de poorten voor eeuwig sluiten!"

Ja leg dat 'ns uit ben benieuwd...

Geplaatst: 17 okt 2003, 14:06
door Leipo
Ik geloof er geen flikker van dat jij SN bent.. op msn zeg je van niet.. :roll:

Geplaatst: 17 okt 2003, 14:17
door timgoud
Laat gewoon supernova reageeren hier onder als die ja zecht is het zo ;) makkie

Geplaatst: 17 okt 2003, 15:55
door michaa113
Als je toch nooit meer inlogt onder SN geef dan het wachtwoord :P

Geplaatst: 17 okt 2003, 16:20
door Arnie
Ik zei al, ik log daar niet meer in, omdat ik van die nickname af wou.
En het wachtwoord krijg je niet :P
Als je bevestiging wilt dat ik het ben, vraag dan aan chatgek of Arnie echt mij is.

Wat ik ermee bedoel is dat we in de laatste tijd leven.
Elk moment kan het ophouden (maar het kan ook nog niet gebeuren tijdens ons leven).
En als het zover is, dan komt Jezus en gebeuren de dingen die in de Bijbel in Openbaring (laatste hoofdstuk) staan.
En sommige mensen hebben zoiets, toen ik nog supernova@supernova.tk voor msn had, al gehoord.
Jullie weten toch wel dat ik, ook toen ik S/N was, christen was?
Vraag maar na aan chatgek. Die kent mij ook van mijn eigen forum (dat nu weg is) IB.
op msn zeg je van niet..
welk adres?

Trouwens, kunnen we het ook over Profan² hebben? :(

Geplaatst: 17 okt 2003, 17:07
door MeDieViL
het is wel sn hoor, op zijn site noemden ze hem ook arnie...

Geplaatst: 17 okt 2003, 18:45
door LadyBug
Ik geloof er niks van...
Laat hem lekker nog 1x inloggen en met de SN account posten dat hij het is :roll:

Geplaatst: 17 okt 2003, 20:05
door timgoud
Hmmm Ip loggen ;) bardvb hmm als de mod komt jha

Geplaatst: 18 okt 2003, 13:08
door Arnie
dan geloven jullie het niet :roll:
maar ik ga niet inloggen op m'n oude username omdat ik daaronder niet bekend wil staan.
vraag het maar na aan chatgek.
IP heeft geen zin, want mijnes veranderd soms.

Leipo weet je nog dat ik je een login gaf voor mn Ischuros db omdat we die mod-deal hadden (die toch niet doorgaat nu..)
En dat je het pakket waar het password (wortel of carrot ofzo was het dacht ik) kon downloaden - ik gaf de url op msn, en toen je m had verwijderde ik m meteen.
Hoe zou ik dat kunnen weten als ik iemand anders was, omdat dat allemaal op msn was.

Geplaatst: 18 okt 2003, 13:30
door michaa113
Ik weet dat toch ook :P
Kep zelfs nog deel van jou ib op mijn pc staan omdat ik het samen met leipo zou doen.

Geplaatst: 18 okt 2003, 17:18
door Arnie
klopt, maar niet de details van msn :P