• Welcome to Theos PowerBasic Museum 2017.

Old program - SE_Engine

Started by Zlatko Vid, April 27, 2017, 06:25:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zlatko Vid

Hi to all!
I found on PowerBasic forum old scripting engine called SE_Engine
then i try to compile this demo program with PBWin10
then compiler exit with two errors.
when i comment those lines with errors then i compile program but it looks that cannot run script.
My question is , Is possible to compile that code properly with PBwin10 ?
thanks !

link to post;
https://forum.powerbasic.com/forum/user-to-user-discussions/source-code/36386-se-script-engine?t=35461

Israel Vega

Only add THREAD in file  SE_ENGINE.INC

THREAD FUNCTION tokenizer(BYVAL inscript AS STRING PTR) AS DWORD     


and now is working fine in PBWIN10

Zlatko Vid

Hi Israel Vega
Ok i will add but i don't know where .
I tried to add this line on few places BUT then i receive strange erorrs
like : Must be outside of Sub/Function/Class
do you can explain to me where to add this line ?

Israel Vega

Ok...only replace this file:   SE_ENGINE.INC  with I attach.


Zlatko Vid

Hi Vega
Yes now work...
so i will study this more..but some things loks overcomplicated without reason.
anyway...thanks again :)